Commit graph

4 commits

Author SHA1 Message Date
Noikoio
3f376605f2 ModTools configuration redone
Defining config for ModTools now is similar to that of other features.

Additionally, merged the Ban and Kick commands into a single file,
and it no longer scans itself for attribute data on load.
2017-10-09 11:54:12 -07:00
Noikoio
2358a8eec4 Fixed BanCommand not accepting IDs of non-guild users
Also slightly improved the equivalent code for KickCommand
2017-08-11 09:29:52 -07:00
Noikoio
1351777e0a Fixed incorrect kick/ban reasons 2017-08-09 16:07:42 -07:00
Noikoio
e3d40a5f60 Added ModTools feature
Implements moderation commands that are fully configurable.
Commands are defined in configuration per-server under "modtools",
and allows for custom command triggers as well as individual options.

For now, only commands with "kick" and "ban" capabilities are
available, but more will be added in the near future.
2017-08-06 13:05:44 -07:00