MitchellAW/FlandersBOT

Support additional custom prefixes

MitchellAW opened this issue · 1 comments

Currently, FlandersBOT only supports a single custom command prefix per server. It would be good to be able to add/remove more custom prefixes.

Added with: d42deda

With the migration from json to DB, FlandersBOT now supports up to 10 custom prefixes per server.
Prefixes are now also more case friendly. For example, if you added a custom prefix of example, FlandersBOT will now respond to the following messages as a prefix:

  • example<command>
  • example <command>
  • example-<command>
  • Example<command>
  • Example <command>
  • Example-<command>
  • EXAMPLE<command>
  • EXAMPLE <command>
  • EXAMPLE-<command>

Note: prefixes are NOT case-insensitive. For example, FlandersBOT will still not respond to EXamPlE <command>