Table of Contents

Method RemoveGuildApplicationCommandsAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

RemoveGuildApplicationCommandsAsync(ulong)

Removes all global application commands for a specific guild id.

public Task RemoveGuildApplicationCommandsAsync(ulong guildId)

Parameters

guildId ulong

The target guild id.

Returns

Task

RemoveGuildApplicationCommandsAsync(DiscordGuild)

Removes all global application commands for a specific guild.

public Task RemoveGuildApplicationCommandsAsync(DiscordGuild guild)

Parameters

guild DiscordGuild

The target guild.

Returns

Task