/// <inheritdoc/>
 public override async Task DeleteAsync(RequestOptions options = null)
 => await InteractionHelper.DeleteGuildCommandAsync(Discord, GuildId, this).ConfigureAwait(false);
示例#2
0
 public static Task DeleteGuildCommandAsync(BaseDiscordClient client, ulong guildId, IApplicationCommand command, RequestOptions options = null)
 {
     return(InteractionHelper.DeleteGuildCommandAsync(client, guildId, command, options));
 }