Namespace Discord.Addons.Preconditions
Classes
MinimumOnlineUsersAttribute
Sets how many users must be online in order to run the command. This precondition ignores BOT accounts. This precondition automatically applies RequireContextAttribute.
RatelimitAttribute
Sets how often a user is allowed to use this command or any command in this module.
RequireLowerHierarchyAttribute
Indicates this parameter must be a SocketGuildUser whose Hierarchy value must be lower than that of the Bot.
RequireRoleAttribute
Indicates this command or all commands in this module can only be executed if the user has the role with the specified Id. This precondition automatically applies RequireContextAttribute.
UserMustBeInVoiceAttribute
Indicates that this command can only be used while the user is in a voice channel in the same Guild. This precondition automatically applies RequireContextAttribute.
Enums
Measure
Determines the scale of the period parameter.
RatelimitFlags
Determines the behavior of the RatelimitAttribute.