Commit Graph

552 Commits

Author SHA1 Message Date
0aadeb94dd
refactor of channel and role ignore settings code 2021-05-10 15:38:53 +03:00
7586a33dcd
fix issue with being unable to reset list 2021-05-10 14:59:36 +03:00
99e5cde911
add functionality to remove discord formatting 2021-05-10 14:59:08 +03:00
03ebe62f04
reorganise some settings 2021-05-08 20:42:30 +03:00
225317a15c lang stuff 2021-05-08 12:33:47 +03:00
0ba3dc64bb misc client fixes 2021-05-08 12:33:41 +03:00
10fda573fe refactoring and mention filter setting 2021-05-08 12:33:22 +03:00
10d4c5cebf put point expiration behind a condition 2021-05-06 20:22:18 +03:00
fde694b36a added activity field 2021-05-06 20:21:39 +03:00
f3e0d39145 message._caller into lower case 2021-05-06 20:21:24 +03:00
c8bbe2acb7 added modhelp alias, triggers modhelp embed 2021-05-06 20:21:07 +03:00
9f9d68214e clean up and rate limiting 2021-05-06 01:09:45 +03:00
ccef862e4b added colour 2021-05-05 17:47:11 +03:00
fdccd9057d random bs 2021-05-05 17:47:04 +03:00
a7b0098695 added embed perm check 2021-05-05 17:46:01 +03:00
183ca1b1a3 improved display of user activity in user command 2021-05-05 17:44:23 +03:00
7b380bf178 random bs 2021-05-04 17:16:52 +03:00
fcf536fa6a method for dealing with automod calls 2021-05-04 17:16:04 +03:00
d1111c775c lang stuff 2021-05-03 17:56:34 +03:00
94b884e9d8 misc stuff 2021-05-03 17:56:09 +03:00
022b436536 fixed grant permission requiring perms for all commands also created a help section for required perms 2021-05-03 17:55:46 +03:00
c79e5c6e62 _error method 2021-03-21 15:45:54 +02:00
686004178c lang stuff 2020-11-13 21:14:23 +02:00
6efb6e2707 filter setting fixes 2020-11-13 21:14:13 +02:00
f03547bd26 automod improvements 2020-11-13 21:13:25 +02:00
99db24d148 lang bs 2020-11-12 20:13:01 +02:00
f632ae54b4 method for checking invite 2020-11-12 20:12:46 +02:00
6ab22a02bf preliminary invite filter & invite caching 2020-11-12 20:12:20 +02:00
9754472481 misc fixes 2020-11-12 01:00:07 +02:00
bb8d5c946c change tokenised to regex in word filter 2020-11-12 00:59:49 +02:00
42327f6485 wordfilter improvements, word watcher 2020-11-12 00:59:27 +02:00
52e4eab9d6 link getter 2020-11-12 00:58:55 +02:00
d0d97173a4 misc fixes 2020-11-12 00:58:47 +02:00
cfbc651fa0 word watcher setting 2020-11-12 00:58:13 +02:00
9013dbe5ee invite filter setting 2020-11-12 00:58:05 +02:00
2675cafef4 lang shit 2020-11-12 00:57:55 +02:00
0cc44ac9ff async flag for async eval ops 2020-11-09 20:18:15 +02:00
ddddb20ae7 bugfixes for extended structures 2020-11-09 20:17:13 +02:00
ba58327b14 clientPermissions for send_messages for commands 2020-11-09 20:15:02 +02:00
4706530d16 change property reference 2020-10-14 21:11:04 +03:00
4d747eb09e logic fix to channel ignore 2020-10-14 21:10:41 +03:00
3b498fce07 remove pointless debug message 2020-10-01 00:52:59 +03:00
c72d968305 fix moving chatlogs channel, was stuck on webhook 2020-10-01 00:52:45 +03:00
3f20dd1467 bugfix for extremely long messages 2020-10-01 00:11:44 +03:00
5c8f5e1f99 automated actions for filter matches 2020-10-01 00:02:54 +03:00
2ffe6bef2a tweaks 2020-10-01 00:02:33 +03:00
faf19d106d added action expiration for modpoints 2020-10-01 00:02:03 +03:00
451f97b46c lang stuff 2020-10-01 00:01:13 +03:00
34d6940208 missing semicolon... 2020-09-30 20:04:45 +03:00
e24d50d0f5 fixed a dumb bug 2020-09-30 20:04:38 +03:00
4b80a5ad30 experimental word filter implementation 2020-09-30 19:32:48 +03:00
315c978917 added the option to use preset filter lists 2020-09-30 19:32:38 +03:00
36615c8014 lang stuff 2020-09-30 19:31:55 +03:00
e359b2d43a exports 2020-09-30 19:25:04 +03:00
fa387feef6 binary tree structure 2020-09-30 19:24:46 +03:00
ba00ccad28 fix undefined return value 2020-09-30 19:24:38 +03:00
cae035ba67 developer shortcut 2020-09-30 19:24:28 +03:00
44205c5bac resolveMethod refactor 2020-09-30 19:23:52 +03:00
553c84379e further refactor resolveMethod 2020-09-30 19:23:36 +03:00
128633eac2 add support for filtered logging 2020-09-30 19:22:32 +03:00
46b5d29e0f more feedback when actions fail 2020-09-28 01:54:35 +03:00
3cac01fa60 bugfix 2020-09-28 01:54:19 +03:00
5ba4933f92 missing lang entries 2020-09-28 01:34:37 +03:00
a915d79113 bugfix 2020-09-28 01:34:15 +03:00
4f286e94ba bunch of filter setting lang stuff 2020-09-28 01:09:44 +03:00
d36151f9a8 some bugfix 2020-09-28 01:09:33 +03:00
1ad27ccef1 bugfix for dupe checking + allow action resetting 2020-09-28 01:09:19 +03:00
075e8c390b linkfilter setting 2020-09-28 01:08:39 +03:00
78c57217ca smol bugfix 2020-09-28 01:08:27 +03:00
48237b8edb changed resolveMethod to use opts param 2020-09-27 21:16:09 +03:00
690fca08c2 export FilterSetting 2020-09-27 21:15:26 +03:00
341eb277d3 refactor action builder 2020-09-27 21:15:06 +03:00
a92601caa9 domain resolver and general resolver improvements 2020-09-27 21:14:46 +03:00
e4223205a6 Added an intermediary class for filter settings 2020-09-27 21:14:01 +03:00
7484c2a852 fix modpoints current config fields 2020-09-21 21:50:06 +03:00
00b3b07b8c prep automod observer 2020-09-21 21:49:49 +03:00
a1810f8672 prep linkfilter setting 2020-09-21 21:49:14 +03:00
4dda6b98fb cleanup 2020-09-21 21:48:46 +03:00
945781ae27 some resolver tweaks 2020-09-20 23:56:11 +03:00
aa9910b843 wordfilter done; needs testing
probably also needs to account for text lenght limits when displaying
2020-09-20 23:55:44 +03:00
63818fca3a wordfilter lang stuff 2020-09-20 23:54:33 +03:00
5f876339dc cleanup and bugfix 2020-09-20 17:34:13 +03:00
5e78e721da add a time prop to opts, still defaults to 30s 2020-09-20 13:04:06 +03:00
5edd6963fe resolve mod action for filter settings
misc things for other resolvers, added allowedmethods to resolvemethod
2020-09-20 01:45:23 +03:00
ad4383ee8c basically finished wordfilter setting
needs testing and options for generic actions
2020-09-20 01:44:03 +03:00
1ea773ab64 cleanup from moving formatting to client 2020-09-19 23:30:46 +03:00
a57365c767 bugfix for prefix formatting 2020-09-19 23:30:23 +03:00
3f2fb92ebd Merge branch 'master' of https://github.com/Navy-gif/New-GBot 2020-09-19 18:51:33 +03:00
486143f411 move formatting to client 2020-09-19 18:37:46 +03:00
f450ccac38 incomplete stuff, pushing so I can work remotely 2020-09-18 03:30:50 +03:00
c2df48ba6f resolver fixes 2020-09-18 03:30:12 +03:00
4011683e8e lang stuff 2020-09-18 03:29:57 +03:00
ec2b647e2b avg mem lang thing 2020-09-17 20:45:39 +03:00
6e30a24135 avg shard mem consumption 2020-09-17 20:42:23 +03:00
7b13ef3688 ignore undefined return value from setting handler 2020-09-17 20:42:07 +03:00
08c652eb8e "clean" substring, removes prefix and callers 2020-09-17 20:41:44 +03:00
8647303aba misc fixes, making sure changing origin works 2020-09-05 23:58:47 +03:00
43e0027711 misc fixes 2020-09-05 23:57:46 +03:00
f3555c35cf alises for user 2020-09-05 23:57:10 +03:00
3c54a90c0c fix for empty value for thresholds 2020-09-01 23:33:24 +03:00
828b6ea9ca automod usage, examples and description 2020-09-01 23:12:08 +03:00
070180897b bunch of lang stuff 2020-09-01 23:04:25 +03:00
5c386cf925 now supports adding time directly in threshold 2020-09-01 23:04:13 +03:00
caf576a657 feedback for no resolved roles 2020-09-01 23:03:56 +03:00
8d0b63a148 fix ignorechannels setting 2020-09-01 23:03:40 +03:00
550481b786 channelignore fixes 2020-09-01 23:03:30 +03:00
3b53aa7fa7 fix linter complaints 2020-09-01 23:03:16 +03:00
d90028c491 keep quotes: true 2020-09-01 23:02:18 +03:00
3bdd8c0d49 automod configuration 2020-09-01 18:46:01 +03:00
d39a2b69c0 yes 2020-09-01 18:45:43 +03:00
ad6f2cebe4 typo 2020-08-31 23:26:58 +03:00
2a175b5dad Merge branch 'master' of https://github.com/Navy-gif/New-GBot into master 2020-08-31 18:05:24 +03:00
nolan
6fef7914ba more fixes 2020-08-31 10:04:23 -07:00
nolan
62018ad8b4 dminfraction fix 2020-08-31 09:50:05 -07:00
nolan
248dc1f794 automod fix 2020-08-31 09:47:20 -07:00
34ed2cbe68 brr 2020-08-31 18:04:54 +03:00
b996645b58 Merge branch 'master' of https://github.com/Navy-gif/New-GBot into master 2020-08-31 17:50:26 +03:00
3f3bf4a501 comment 2020-08-31 17:50:20 +03:00
98fdf3ff06 Merge branch 'master' of https://github.com/Navy-gif/New-GBot into master 2020-08-31 17:47:51 +03:00
c0bc060253 modpoints 2020-08-31 17:47:37 +03:00
a72ee518fd misc fixes, linter stuff 2020-08-25 17:38:08 +03:00
b64f47d3c5 Merge branch 'master' of https://github.com/Navy-gif/New-GBot into master 2020-08-25 17:16:35 +03:00
30fddbd697 bs 2020-08-25 17:10:52 +03:00
nolan
ed5b9ea5f6 protection error fixes & fix lang indexes 2020-08-19 01:33:21 -07:00
nolan
71133dec99 mute setting rewrite & fix modlog setting 2020-08-19 01:26:29 -07:00
nolan
e48ba2a9d9 Merge branch 'master' of https://github.com/Navy-gif/New-Gbot 2020-08-17 13:50:08 -07:00
nolan
9e9fc6131e merge 2020-08-17 13:49:54 -07:00
388ddefc75 dynamic avatar url 2020-08-17 23:49:25 +03:00
nolan
cbe365c201 Merge branch 'master' of https://github.com/Navy-gif/New-Gbot 2020-08-17 13:31:34 -07:00
nolan
8b98f551bc user settings and language file changes 2020-08-17 13:26:57 -07:00
94d7e72da7 webhook bs 2020-08-17 23:25:17 +03:00
659ece19dc lang 2020-08-17 23:25:05 +03:00
e423b67f1e webhook bullshit 2020-08-17 23:24:57 +03:00
d3c16ec89e fix dumb issue 2020-08-17 23:24:43 +03:00
d094ffa765 bulk delete logs 2020-08-17 23:24:23 +03:00
cd1125e7b2 Merge branch 'master' of https://github.com/Navy-gif/New-GBot 2020-08-16 12:49:05 +03:00
c32a37e2df fix to empty message 2020-08-16 12:49:00 +03:00
nolan
566c73e35a Merge branch 'master' of https://github.com/Navy-gif/New-Gbot 2020-08-16 00:27:59 -07:00
nolan
5db3a7b740 added log command, changed log file names, rewrote settings command, updated all settings to use enabled/disabled emojis and reformatted fields 2020-08-16 00:27:49 -07:00
a0bb7b81eb a 2020-08-16 00:23:37 +03:00
4340a2a5d3 further expand stats 2020-08-16 00:23:24 +03:00
b06643db00 stuff 2020-08-15 00:53:10 +03:00
ee890957f8 Merge branch 'master' of https://github.com/Navy-gif/New-GBot 2020-08-14 22:47:31 +03:00
e315cb6660 stats method 2020-08-14 22:46:30 +03:00
0995017f5d statistics -> stats 2020-08-14 22:46:24 +03:00
7fd308e2f2 lang 2020-08-14 22:46:13 +03:00
d3423bb543 stat tracking 2020-08-14 22:46:08 +03:00
e1cdcc83b4 command stat tracking (for runtime only) 2020-08-14 22:45:32 +03:00
382e6d1157 shortcut to storage 2020-08-14 22:45:03 +03:00
f1bf7dd705 move guild and shard id to footer 2020-08-14 22:44:52 +03:00
c1f7578cf3 expand on stats command 2020-08-14 22:44:42 +03:00
Erik
0b3106ec65
removed a period 2020-08-14 17:24:20 +03:00
ea838a77a7 lang stuff 2020-08-14 17:13:52 +03:00
98abf07176 stats command 2020-08-14 17:13:46 +03:00
ff544dd57b Resolve user shortcuts and managerEval 2020-08-14 17:13:29 +03:00
538d197f94 quality of life for me 2020-08-14 17:13:04 +03:00
nolan
07d428c952 user badges and some misc. stuff 2020-08-14 01:35:41 -07:00
nolan
ad6e0b93bc Merge branch 'master' of https://github.com/Navy-gif/New-Gbot 2020-08-13 23:30:03 -07:00
nolan
929e6048f8 permissions rewrite, prune flags, history command, some documentation 2020-08-13 23:29:58 -07:00
421dddfb03 small fixes 2020-08-14 01:12:48 +03:00
ca2ee0a5d8 change logging level 2020-08-13 23:47:09 +03:00
bca63dab46 clean up 2020-08-13 23:47:00 +03:00
1ba51cfa0b fix bug with message edits where no content was initially present 2020-08-13 23:46:52 +03:00
15286ab227 show infraction points and expiration 2020-08-13 23:46:15 +03:00
29ffc9e364 support global user and discrim search 2020-08-13 23:46:01 +03:00
234a17dae1 lang stuff 2020-08-13 23:45:34 +03:00
bc921ca625 changed logging level 2020-08-13 23:45:23 +03:00
nolan
f9c59d7990 Merge branch 'master' of https://github.com/Navy-gif/New-Gbot 2020-08-11 00:32:47 -07:00
82d3b9392b lang stuff 2020-08-10 03:01:05 +03:00
d8fb8c3202 error stack printing 2020-08-10 03:00:59 +03:00
5e65e219d7 dumb bug fix 2020-08-10 03:00:49 +03:00
7b23cac660 user embed rework 2020-08-10 03:00:39 +03:00
nolan
2b9dfb1fad Merge branch 'master' of https://github.com/Navy-gif/New-Gbot 2020-08-09 12:53:15 -07:00
nolan
4db5b480a2 moderation history command sorta 2020-08-09 12:53:09 -07:00
8fc62a655a misc 2020-08-09 20:06:04 +03:00
9817e4d774 case command 2020-08-09 20:05:58 +03:00
b481e01c1d role cache getter 2020-08-09 02:23:48 +03:00
62f2e28754 resolved property to infractions 2020-08-09 02:23:34 +03:00
4e93e35325 bug fix to db call 2020-08-09 02:23:19 +03:00
19df36319f lang stuff 2020-08-09 02:22:58 +03:00
9f28ba16d8 some error stuff 2020-08-09 02:22:51 +03:00
20d0f0749b rewrite stickyrole for more granular control 2020-08-09 02:22:41 +03:00
10ce17431b sticky role and auto mute 2020-08-09 02:22:23 +03:00
d6d33ffd63 missing embed perms error handling 2020-08-09 02:21:05 +03:00
12e2660bf7 more perm checks 2020-08-08 22:16:13 +03:00
7682f8bba6 edit error??? 2020-08-08 22:10:36 +03:00
25c5e2d1cb table 2020-08-08 22:01:11 +03:00
73e32f030d guild command lang 2020-08-08 22:01:02 +03:00
32c178b9ef guild command rework 2020-08-08 21:59:30 +03:00
23041f6247 Merge branch 'master' of https://github.com/Navy-gif/New-GBot 2020-08-08 13:41:09 +03:00
5530886a51 fixing linter warnings 2020-08-08 13:40:43 +03:00
nolan
c49fbeba58 merge 2020-08-07 15:27:24 -07:00
nolan
19b0abc8e8 Shard-based (connection-pool) storage system testing (IDK IF IT WORKS) and moved localization to structure 2020-08-07 15:21:28 -07:00
581745b016 enable guild logging 2020-08-06 01:13:39 +03:00
8ad54271df finished the help command 2020-08-06 01:13:27 +03:00
11a6c7e255 guild and user info polish 2020-08-06 01:13:09 +03:00
4dd7512d1e dev bypass to premium 2020-08-06 01:12:54 +03:00
f2f82af1bf merge 2020-08-04 12:36:54 +03:00
5ebd8335d8 Merge branch 'master' of https://github.com/Navy-gif/New-GBot 2020-08-04 12:36:28 +03:00
63e256f17e stripindents 2020-08-04 12:36:20 +03:00