fix BulkOverwriteCommands NRE (#2444)

This commit is contained in:
Cenk Ergen
2022-08-29 15:24:33 +03:00
committed by GitHub
parent 9feb703a82
commit fbc5ad414f

View File

@@ -150,8 +150,6 @@ namespace Discord.Rest
DmPermission = arg.IsDMEnabled.ToNullable() DmPermission = arg.IsDMEnabled.ToNullable()
}; };
Console.WriteLine("Locales:" + string.Join(",", arg.NameLocalizations.Keys));
if (arg is SlashCommandProperties slashProps) if (arg is SlashCommandProperties slashProps)
{ {
Preconditions.NotNullOrEmpty(slashProps.Description, nameof(slashProps.Description)); Preconditions.NotNullOrEmpty(slashProps.Description, nameof(slashProps.Description));