2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-24 10:58:19 +00:00

19 Commits

Author SHA1 Message Date
Martin Rys
96e6a3c761 Upgrade to Telegraf 4.3 2021-05-07 22:46:11 +02:00
Wojciech Pawlik
5b5cf335a1
Avoid manual escapeHtml 2020-05-13 22:35:50 +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
Aziz Kasymov
7aa5c3ff37 Add free-spacing flag to the emoji regex (#100) 2019-02-03 17:16:50 +01:00
Aziz Kasymov
c0d0145197 Fix sorting groups with emoji in title; closes #98 (#99) 2019-02-03 11:33:05 +01:00
Muthu Kumar
eeb571226d [feature] Schedule deletion of warn and ban messages (#95) 2018-11-20 06:17:30 +00:00
GingerPlusPlus
538c2da501 New commands: /showgroup, /hidegroup
Closes #64.
Closes #31.
2018-04-03 00:21:00 +02: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
e2f8432711 fixed sorting 2017-11-23 22:29:40 +03:30
Pouria Ezzati
dabe672fa8 sorting staffs and groups alphabetically 2017-11-23 18:39:08 +03:30
GingerPlusPlus
ff2e78c92b [eslint] function-paren-newline: error, multiline 2017-10-31 23:08:22 +01:00
GingerPlusPlus
337f6e2183 Added and used scheduleDeletion
...only where I was certain that whis was a good idea,
perhaps it could be useful in more places.
2017-10-31 22:36:18 +01:00
Pouria Ezzati
1b12efce72 delete /groups and /link responses after 5 min 2017-10-02 14:16:54 +03:30
GingerPlusPlus
36f4180ebe disable_web_page_preview in /groups 2017-09-28 22:48:18 +02:00
GingerPlusPlus
d0d4e1bc0c Added groupsInlineKyeboard to config
It allows to define inline keyboard to be displayed
under output of /groups.
2017-09-25 15:38:03 +02:00
Pouria Ezzati
7c94ca45f0 renamed group store to match others 2017-09-25 16:17:18 +03:30
Pouria Ezzati
40265a1074 /groups now shows groups with link 2017-09-25 16:14:29 +03:30
GingerPlusPlus
ac6780f4f5 Added /groups 2017-09-24 23:23:36 +02:00