2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-28 12:47:56 +00:00

10 Commits

Author SHA1 Message Date
Wojciech Pawlik
a11e35d3a7
Add middlewares/antiflood 2020-06-06 10:51:46 +02:00
Thomas Rory Gummerson
758b924436
Type ctx 2020-03-13 22:00:30 +01:00
Thomas Rory Gummerson
f018464482
Type config file 2020-03-12 19:42:53 +01:00
GingerPlusPlus
498c76ae0d [Bugfix] handle cyclic dependency 2018-05-05 20:10:22 +02:00
GingerPlusPlus
b20e1b3a9b Add and use ctx.warn 2018-05-04 14:21:51 +02:00
GingerPlusPlus
feba5c1f43 Update dependencies; closes #55. 2018-02-10 20:20:17 +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
GingerPlusPlus
fc152708ac Ignore past messages when in development 2017-11-01 21:03:48 +01:00
GingerPlusPlus
0f0dee3a7d Removed utils/json, replaced loadJSON with require 2017-10-06 18:35:53 +02:00
Pouria Ezzati
6739a2f0a0 refactored to be more modular 2017-09-21 13:57:49 +04:30