• Guides
  • Api Documentation
Show / Hide Table of Contents
  • Discord.Addons.MpGame
    • CurrentlyPlaying
    • GameBase<TPlayer>
    • IMpGameData
    • MpGameModuleBase<TService, TGame, TPlayer>
    • MpGameService<TGame, TPlayer>
    • MpGameService<TGame, TPlayer>.MpGameData
    • Player
  • Discord.Addons.MpGame.Collections
    • CircularLinkedList<T>
    • Hand<T>
    • IWrapper<T>
    • Node<T>
    • Pile<T>
    • WrappingPile<T, TWrapper>
  • Discord.Addons.Preconditions
    • Measure
    • MinimumOnlineUsersAttribute
    • RatelimitAttribute
    • RatelimitFlags
    • RequireLowerHierarchyAttribute
    • RequireRoleAttribute
    • UserMustBeInVoiceAttribute

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.

Back to top Generated by DocFX