menu
auric package
documentation
bot/command_context.dart
CommandContext
hasRole method
hasRole method
dark_mode
light_mode
hasRole
method
bool
hasRole
(
String
roleId
)
Check if user has specific role
Implementation
bool hasRole(String roleId) => userRoles.contains(roleId);
auric package
documentation
bot/command_context
CommandContext
hasRole method
CommandContext class