Table of Contents

Method GetGuildApplicationCommandPermissionsAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

GetGuildApplicationCommandPermissionsAsync(ulong, ulong)

Gets permissions for a application command in a guild.

public Task<DiscordGuildApplicationCommandPermissions> GetGuildApplicationCommandPermissionsAsync(ulong guildId, ulong commandId)

Parameters

guildId ulong

The guild ID.

commandId ulong

The ID of the command to get them for.

Returns

Task<DiscordGuildApplicationCommandPermissions>

The permissions.