Initializer

init(token:swiftcordOptions:shieldOptions:)

Creates a Shield class to use commands with

Declaration

init(token: String, swiftcordOptions: SwiftcordOptions = SwiftcordOptions(), shieldOptions: ShieldOptions = ShieldOptions())

Parameters

token

The bot’s token

swiftcordOptions

SwiftcordOptions structure to apply to bot

shieldOptions

ShieldOptions structure to apply to command client