Browse Source

fix BulkOverwriteCommands NRE

pull/2444/head
Cenngo 3 years ago
parent
commit
e746b7d750
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      src/Discord.Net.Rest/Entities/Interactions/InteractionHelper.cs

+ 0
- 2
src/Discord.Net.Rest/Entities/Interactions/InteractionHelper.cs View File

@@ -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));


Loading…
Cancel
Save