Commit graph

63 commits

Author SHA1 Message Date
Dragory
9058b0fd63
Fix emoji mentions in default log messages 2021-08-17 19:23:56 +03:00
Dragory
cb8d914fef
Disallow anchors/aliases to objects when loading config YAML 2021-08-14 18:22:29 +03:00
Dragory
124bbfdc18
Tweaks to hasDiscordPermissions() 2021-08-14 16:30:40 +03:00
Dragory
adbcbe9524
Fix error in log userMention() function
The function assumed a GuildMember object where a new
IConfigAccessibleMember object was used instead.
2021-08-14 15:42:32 +03:00
almeidx
3537305c59
upgrade discord.js 2021-08-04 20:45:42 +01:00
Dark
036d46f08a
Fix log bugs 2021-07-29 19:08:22 +02:00
almeidx
5e91a9fed3
removed unnecessary collector filters 2021-07-29 17:24:53 +01:00
almeidx
71cc3176f6
Use SnowflakeUtil.deconstruct 2021-07-29 13:14:45 +01:00
almeidx
afab564628
remove camelcase permission stuff 2021-07-29 13:00:45 +01:00
almeidx
afe0ec1194
removed unnecessary string literal and simplified stuff 2021-07-29 10:08:55 +01:00
Nils
392e7fc56e
Merge pull request #3 from almeidx/smol-refactor
Smol refactor
2021-07-29 03:03:38 +02:00
almeidx
74a676913e
user.tag 2021-07-29 00:37:19 +01:00
Dark
3886d2d1dd
Include Sticker and Emoji events in Logs 2021-07-29 01:02:29 +02:00
Dark
acb4913495
More fixes, change rest of stripObjectToScalars to configAccessibleObj 2021-07-21 22:14:09 +02:00
Dark
d2dd103175
Start move to configAccessibleObjects, exclude perm overrides from logs
configAccessibleObjects are used to guarantee backwards compatibility and consistency.
Perm overrides from our own plugins are ignored as to not spam logs through bot managed slowmode or companion channels
2021-07-06 05:23:47 +02:00
Dark
dda19de6e6
Fix various bugs, update djs 2021-07-04 23:14:12 +02:00
Dark
5e73d380c5
Update DJS 2021-07-04 17:41:44 +02:00
Dark
1ad70ffe1a
Change DiscordRESTError to DiscordAPIError 2021-06-30 23:06:02 +02:00
Dark
0822fc15e5
Type fixes for djs 2021-06-30 04:56:56 +02:00
Dark
6e22687bf6
Switch pagination to buttons 2021-06-21 01:36:35 +02:00
Dark
5c7c3c8cba
Make message with default buttons stateful 2021-06-08 04:34:32 +02:00
Dark
5efdf5ce95
Formatting and initial ButtonRoles DB work 2021-06-08 02:23:30 +02:00
Dark
6ac9d2f2a2
Organise all imports, make Mutes depend on Logs 2021-06-06 23:51:32 +02:00
Dark
d0c6e6f411
More fixes, waitForInteraction (replacement for waitForReaction) 2021-06-02 23:41:05 +02:00
Dark
edcfd2333f
Bot now connects, lint fixes 2021-06-02 19:35:44 +02:00
Dark
d0a1beb809
Finish preliminary rework, ready to test 2021-06-02 04:07:50 +02:00
Dark
52839cc9f3
More rework progress, remove all eris imports 2021-06-01 02:05:55 +02:00
Dark
8f7a6510eb
Pre-plugin moves 2021-05-31 21:12:24 +02:00
Dark
9fc045cd38
Start move to d.js 2021-05-31 03:30:55 +02:00
Dragory
c5cab69f98
Fix hasDiscordPermission() when checking against multiple permissions 2021-04-11 14:12:58 +03:00
Nils
c5d68650a3
Enforce unified lock names by using functions to generate lock keys (#165) 2021-04-02 16:43:13 +03:00
Dragory
93912541b4
automod: add triggers for mod actions 2021-02-14 16:58:02 +02:00
Dragory
ff98670cf5
Improve empty message detection when rendering tags 2020-12-23 02:27:45 +02:00
Dragory
0c6ec9cef0
Add utility function to create paginated messages 2020-12-15 15:13:31 +02:00
Dragory
9480e82056
Add comment clarifying WithRequiredProps 2020-11-09 20:43:10 +02:00
Dragory
629002b8d9
Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
2f470dc37a
Update to new Knub 30 beta. Code clean-up. 2020-10-01 01:43:38 +03:00
Dragory
7562a886e1
automod: fix normalize not trimming whitespace in ascii-only messages 2020-09-16 22:33:24 +03:00
Dragory
baa3a5640e
Encrypt message data at rest 2020-09-16 22:32:43 +03:00
Dragory
b758c9cfe0
Include stripMarkdown.ts
Was originally supposed to be part of
commit cb5723db7c
2020-09-15 01:35:59 +03:00
Dragory
fca8a8dcce
Include whitespace in containsOnlyNormalChars() 2020-08-28 00:25:45 +03:00
Dragory
35b32e00be
Simplify containsOnlyNormalChars() test 2020-08-28 00:25:24 +03:00
Dragory
786c2e3d86
Fix messages with only numbers and ascii characters not being normalized (vol 2) 2020-08-28 00:13:47 +03:00
Dragory
747fc4d638
Fix messages with only numbers and ascii characters not being normalized 2020-08-27 23:13:08 +03:00
Dragory
902be16ae8
Centralize DM logic, don't attempt DMs for an hour after a 20026 error 2020-08-21 03:44:38 +03:00
Dragory
753ceda5ec
!timezone: add fuzzy matching for timezone name; add reset 2020-08-19 00:47:42 +03:00
Dragory
4ae8cf85a3
Add time_and_date plugin. Use it for timezones and date formats around the bot. 2020-08-19 00:19:12 +03:00
Dragory
131a79ffd4
Add case icons. Clean up !cases. Allow customizing case colors and icons. 2020-08-11 04:16:06 +03:00
Dragory
b379bea9b8
Use messageLink() function for message links everywhere 2020-08-10 03:26:39 +03:00
Dragory
1778f95453
Add link to original case in case log channel to case embed 2020-08-10 03:22:57 +03:00