CommandRequirements

public struct CommandRequirements

Command requirements, such as permissions, users, roles, etc

  • Array of channels that can use this command

    Declaration

    Swift

    public var channels = [Snowflake]()
  • Array of guilds that can use this command

    Declaration

    Swift

    public var guilds = [Snowflake]()
  • Array of required permissions in order to use command

    Declaration

    Swift

    public var permissions = [Permission]()
  • Array of users that can use this command

    Declaration

    Swift

    public var users = [Snowflake]()