command property

PartialApplicationCommand? command

The command these permissions apply to, or null if these permissions apply to the entire application.

Implementation

PartialApplicationCommand? get command => id == applicationId ? null : manager.client.guilds[guildId].commands[id];