RoleCommandPermissionBuilder constructor
RoleCommandPermissionBuilder(
- Snowflake id, {
- bool hasPermission = true,
A permission for a single role that can be used in SlashCommandBuilder
Implementation
RoleCommandPermissionBuilder(Snowflake id, {bool hasPermission = true}) : super(id, hasPermission: hasPermission);