Method GetGuildApplicationCommandAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
GetGuildApplicationCommandAsync(ulong, ulong)
Gets a application command in a guild by its ID.
public Task<DiscordApplicationCommand> GetGuildApplicationCommandAsync(ulong guildId, ulong commandId)
Parameters
guildId
ulongThe ID of the guild the application command is in.
commandId
ulongThe ID of the command to get.
Returns
- Task<DiscordApplicationCommand>
The command with the ID.