2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-23 18:38:05 +00:00

11 Commits

Author SHA1 Message Date
Wojciech Pawlik
c8673d963b
TSify 2020-05-08 15:52:59 +02:00
GingerPlusPlus
cb41e47757 Autodetect handlers in commands/index 2018-05-20 18:58:36 +02:00
GingerPlusPlus
bafb69371f Centralize removing commands into middlewares/removeCommands 2018-05-20 13:10:38 +02:00
GingerPlusPlus
642f2e99c3 Use router instead of composer in commands/index
+ Makes commands case-insensitive
+ Avoids hardcoding commands in commands/addCommand
2018-05-20 12:07:12 +02:00
GingerPlusPlus
23e6b78f05 Alias !report and !admins? to /report 2018-05-16 19:09:27 +02:00
GingerPlusPlus
538c2da501 New commands: /showgroup, /hidegroup
Closes #64.
Closes #31.
2018-04-03 00:21:00 +02:00
GingerPlusPlus
ea69ca9256 Improved custom commands, /replaceCommand
Closes #53
2018-02-02 15:47:09 +01:00
GingerPlusPlus
5a4002e7d4 Don't assume config file extension
Even if we want to enforce one extension,
doing it in requires scattered across the whole project
doesn't sound like a good idea (don't repeat yourself).

This commit also enables .js configs,
so I added that to .gitignore.
I'll document it when we settle on default config format.

Why was .json everywhere in the first place?
I thought it was neccessary in some older versions of Node
to be able to require a .json file.
2017-11-24 12:31:47 +01:00
Pouria Ezzati
e2e31f04d9 added /user command and removed /getwarns 2017-11-02 00:19:21 +03:30
GingerPlusPlus
04b5fac255 Made deleting commands more flexible and configurable 2017-10-29 17:46:52 +01:00
GingerPlusPlus
f08de28edd [Refactor] split handlers into composers 2017-10-27 13:50:54 +02:00