Commit graph

130 commits

Author SHA1 Message Date
ff166362ae
Improve performance of CommandProcessor
This improvement was accomplished by removing usages of Regex.
This also reduced unnecessary instructions by returning after a match was found instead of continuing to loop through commands
2022-10-21 11:12:43 +05:00
7afd00bf30
Use TryGetValue instead of ContainsKey and retrieving afterwards 2022-10-21 11:09:56 +05:00
59d9423b5f
Revert links in Boyfriend.csproj 2022-10-21 11:07:33 +05:00
4989f8e9d1
Fix a CodeFactor newline issue 2022-10-20 22:51:08 +05:00
a9957a867f
Build and analyze code with CodeQL 2022-10-20 21:23:59 +05:00
851a8f8b92
Create Dependabot configuration 2022-10-20 21:17:26 +05:00
9921fd564b
Delete SelfBanCommand, failsafe involving bots issuing commands, optimized prefixes 2022-10-18 23:46:43 +05:00
c0ae850fb8
Guild blacklist implementation 2022-10-18 22:55:16 +05:00
e767205c1a
Seal all possible classes, add LICENSE, follow async naming conventions 2022-09-18 19:41:29 +05:00
ac63719a0b
Async message handling, CommandHandler rewrite and rename 2022-08-30 20:15:01 +05:00
53f13d88a5
Async command handling 2022-08-29 21:24:38 +05:00
51c24c1e23
Custom duration parser + bugfixes 2022-08-22 19:48:51 +05:00
c57b845217
Remove unused variables 2022-08-05 21:28:50 +05:00
b2b54b7fd4
Allow mentions to act as command prefixes + bug fixes 2022-08-05 21:01:06 +05:00
2493e317d0
fixed a few bugs in settings + code style consistency with string comparison 2022-07-15 21:23:45 +05:00
a06376443f
Remove timeout from user if it exists, but there is a mute role configured 2022-07-15 18:32:54 +05:00
552ebdd4e0
Merge remote-tracking branch 'origin/master' 2022-06-06 20:40:25 +05:00
36d844148e
i can't be bothered to keep track of these changes 2022-06-06 20:39:47 +05:00
0fbdf92cde
get the FUCK out of here
who asked you to be here??
2022-05-14 18:17:26 +05:00
790f77aa49
another two or three refactors 2022-05-14 18:12:39 +05:00
868b6bcaa7
time-out failsafes and new warnings
rewrote setting values in SettingsCommand.cs
fixed a bug with message edited notification on mobile
fixed an exploit with WrapInline where you could escape the code block by simply using `
moved a few things in MuteCommand.cs
cleaned up code
updated library to 3.3.2
2022-02-21 22:08:55 +05:00
e41a459f6f
Fix durations blocking command handler thread
Add "This punishment will expire in" text to ban/mute notifications
2022-02-12 23:54:45 +05:00
04facc3de2
general code refactor and bug fixes 2022-02-02 18:14:26 +05:00
4d838e5af3
every single file changed lulw 2022-01-30 13:43:15 +05:00
f30485dd71
ton of stuff
- new command handler
- multilanguage support
- time out support
- responses
- a ton of stuff
2022-01-18 22:38:15 +05:00
1c9caf6d75
now fully configurable :D 2021-12-16 00:07:04 +05:00
270fba5c3c
more stuff. yeah 2021-12-15 11:19:14 +05:00
382add19a3
a ton of stuff 2021-12-10 16:25:29 +05:00
8644f70b14
tired 2021-12-07 23:27:27 +05:00
3fa19a4794
Initial commit 2021-12-07 17:52:37 +05:00