Azoy / Sword

Discord library for Swift
https://azoy.github.io/Sword
MIT License
179 stars 52 forks source link

Updated Command System #16

Closed MrLotU closed 7 years ago

MrLotU commented 7 years ago

New ShieldOption Property added: isCaseSensitive if true, a command that's registered as "ThisIsACoMMand will only execute on <prefix>ThisIsACoMMand. If isCaseSensitive is set to false, command will execute on <prefix>thisISACommaND and any other strange caps versions you make from the command. Added CommandOption Property: overwriteCaseSensitive to determine if the command should overwrite the default setting in ShieldOptions