ShieldOptions

public struct ShieldOptions

Shield Options structure

  • Array of prefixes commands should start with

    Declaration

    Swift

    public var prefixes = ["@bot"]
  • Default requirement for commands

    Declaration

    Swift

    public var requirements = CommandRequirements()
  • Wether or not the bot will use case sensitive commands

    Declaration

    Swift

    public var willBeCaseSensitive = true
  • Whether or not to automatically create a help command

    Declaration

    Swift

    public var willDefaultHelp = true
  • Whether or not to ignore commands from bots

    Declaration

    Swift

    public var willIgnoreBots = true
  • Creates a default ShieldOptions

    Declaration

    Swift

    public init()