Method GetGuildApplicationCommandAsync
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.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.