CommandPermissionBuilderAbstract.user constructor
CommandPermissionBuilderAbstract.user(
- Snowflake id, {
- bool hasPermission = true,
A permission for a single user that can be used in SlashCommandBuilder
Implementation
factory CommandPermissionBuilderAbstract.user(Snowflake id, {bool hasPermission = true}) => UserCommandPermissionBuilder(id, hasPermission: hasPermission);