Commit Graph

499 Commits

Author SHA1 Message Date
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
cfa45dc110 tag searching 2020-08-04 12:35:58 +03:00
0695420dc7 guild checks 2020-08-04 12:35:48 +03:00
592f7ec60c tags 2020-08-04 12:35:28 +03:00
2c928ca0d1 fix tag resolving 2020-08-04 12:35:00 +03:00
nolan
d0012fb9be removed permission checking in verify function for infractions 2020-08-03 01:32:34 -07:00
nolan
2e59987f1a trying to fix lang parsing 2020-07-30 05:41:17 -07:00
nolan
bbfd575983 locale parsing fixes for linux 2020-07-29 12:21:58 -07:00
nolan
02b439bae2 permission fixes, example usage fixes, locale testing 2020-07-29 12:01:39 -07:00
nolan
f48439eb6a Merge branch 'master' of https://github.com/Navy-gif/New-Gbot 2020-07-29 11:42:30 -07:00
21bafe1cfe message log was set to send the log message in the channel the message was sent 2020-07-29 14:23:32 +03:00
c568a7b815 a 2020-07-29 00:46:48 +03:00
529942b3c1 a 2020-07-29 00:42:44 +03:00
nolan
aa447185c3 permission fixes (maybe?) 2020-07-28 13:40:15 -07:00
nolan
fc5a3b0e08 Merge branch 'master' of https://github.com/Navy-gif/New-Gbot 2020-07-28 11:51:22 -07:00
nolan
97e34af8c4 enable/disable and message logging 2020-07-28 11:49:34 -07:00
ab1870397e owner check 2020-07-28 21:12:38 +03:00
e49eea5672 perm checks 2020-07-28 14:11:48 +03:00
91a8b135e3 reeee 2020-07-28 13:50:41 +03:00
1ffa96bcd6 fix for nolans boo boo 2020-07-28 13:39:35 +03:00
05bf0016a3 debug 2020-07-28 13:34:10 +03:00
6d65deaa34 commands list fix 2020-07-28 13:11:20 +03:00
nolan
4a6298bd57 merge 2020-07-27 20:03:23 -07:00
nolan
6c1338558f enable/disable commands 2020-07-27 20:00:24 -07:00
79e0bce3b5 some bs 2020-07-26 23:11:12 +03:00
bbd8a390c4 embedUsage 2020-07-26 23:10:55 +03:00
9229eedd29 show usage stuff, help command partial rewrite 2020-07-26 23:10:46 +03:00
13b404bffd components by tag 2020-07-26 23:09:54 +03:00
47ab29f901 prefix getter 2020-07-26 23:09:25 +03:00
7036b9abff a 2020-07-25 16:59:26 +03:00
efbe4b0410 Merge branch 'master' of https://github.com/Navy-gif/New-GBot 2020-07-25 11:34:04 +03:00
nolan
435ec0dd1a logging change 2020-07-25 01:32:26 -07:00
nolan
db3c7d4e3a attempting to change localization files to .txt, don't use this 2020-07-24 23:08:47 -07:00
nolan
b7dcfceebb some logging and message cache fixes 2020-07-24 23:02:22 -07:00
nolan
f056eadc7b removing logging 2020-07-24 12:37:13 -07:00
nolan
6ddc625459 Convert array buffer to regular buffers through processes 2020-07-24 12:34:46 -07:00
nolan
da61ec0712 more logging and some fixes? 2020-07-24 11:49:32 -07:00
nolan
fae49afc4b snipe comand testing and message/attachment storing 2020-07-24 11:31:52 -07:00
dca4b74ca7 Merge branch 'master' of https://github.com/Navy-gif/New-GBot 2020-07-23 23:46:21 +03:00
83bf05e5a2 some stuff 2020-07-23 23:41:52 +03:00
nolan
974ab4b94c db collection/message/attachment caching 2020-07-23 13:40:20 -07:00
nolan
f6b973e940 fix 2020-07-19 18:42:53 -07:00
root
5678644ad7 testing 2020-07-19 21:40:51 -04:00
root
fb29155477 uhhh fix for index 2020-07-19 21:39:11 -04:00
nolan
1d7707221d logging for guild add/leave and command execution 2020-07-19 18:25:27 -07:00
nolan
4c269f9e7a full commit 2020-07-19 15:42:21 -07:00
nolan
ac0492f5c8 Merge branch 'master' of https://github.com/Navy-gif/New-Gbot 2020-07-16 01:19:47 -07:00
nolan
e53acd9fb8 some changes..? 2020-07-16 01:19:31 -07:00
nolan
c5f6bfec82 WIP on master: 8929d20 merged 2020-07-16 00:54:39 -07:00
b820d157d0 case sensitivity matching for resolvemethod 2020-07-11 23:40:43 +03:00
4583302799 premium and exact matching 2020-07-11 23:40:25 +03:00
978f7eabd9 merge 2020-07-11 23:40:05 +03:00
7fe698adf8 bs 2020-07-11 23:39:05 +03:00
a313ddf53f misc stuff 2020-07-11 23:37:09 +03:00