fix BulkOverwriteCommands NRE (#2444)
This commit is contained in:
@@ -150,8 +150,6 @@ namespace Discord.Rest
|
||||
DmPermission = arg.IsDMEnabled.ToNullable()
|
||||
};
|
||||
|
||||
Console.WriteLine("Locales:" + string.Join(",", arg.NameLocalizations.Keys));
|
||||
|
||||
if (arg is SlashCommandProperties slashProps)
|
||||
{
|
||||
Preconditions.NotNullOrEmpty(slashProps.Description, nameof(slashProps.Description));
|
||||
|
||||
Reference in New Issue
Block a user