Commit graph

289 commits

Author SHA1 Message Date
e35db12ab3
Merge remote-tracking branch 'origin/master' 2023-04-27 22:51:15 +05:00
cdfa0e11f7
Use DateTimeOffset#UtcNow instead of DateTimeOffset#Now (UtcNow is actually faster lol)
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-04-27 22:14:30 +05:00
dependabot[bot]
6dbfc1bfae
Bump muno92/resharper_inspectcode from 1.6.11 to 1.6.13 (#30)
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 06:09:22 +00:00
dependabot[bot]
f01ce4fe1c
Bump muno92/resharper_inspectcode from 1.6.6 to 1.6.11 (#27)
Bumps
[muno92/resharper_inspectcode](https://github.com/muno92/resharper_inspectcode)
from 1.6.6 to 1.6.11.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 11:19:01 +05:00
41958deb0a
Fixed a memory leak caused by hitting rate limits, caused by attempts to add unset starter roles
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-03-28 22:47:01 +05:00
05ce680373
Bump Discord.Net from 3.9.0 to 3.10.0
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-03-28 15:28:34 +05:00
cac0bdc801
Fix calling commands with @mentions
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-03-20 12:33:54 +05:00
a2e0707ade
we do a little trolling (#26) 2023-03-20 11:19:17 +05:00
4cc00e01da
Bugfixes:
- Do not call RemoveUnbanAsync in guild tick loop if the user is not banned
- Fix !clear message logs being reversed
- Do not process MessageReceivedEvents by webhooks

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-02-14 23:17:20 +05:00
f6f5543972
Use modern Tuple syntax
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-02-14 22:32:29 +05:00
30a4a94f1b
Edit reminder message & add "!pardon" alias for "!unban" (#25) 2023-02-14 19:44:29 +05:00
f2e337153f
Fix bulk message deleting logs being public
bruh

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-02-02 23:11:17 +05:00
3105229ad4
Include bots for storage in MemberData, download users when populating MemberData
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-02-02 23:05:28 +05:00
7f0fd6ffb5
Fix removed roles store being overwritten
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-02-02 23:04:29 +05:00
620c706c97
Log originals of messages deleted through !clear
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-02-02 23:01:19 +05:00
a97341f9a9
Do not allow setting reminders without specifying a valid TimeSpan
Fixes #19

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-02-02 21:37:12 +05:00
8f9c71edf1
Do not delete messages from role-muted members
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-02-02 19:51:55 +05:00
8518db5b2f
Switch songs as part of guild tick loop
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-02-02 10:04:37 +05:00
233d471600
Add reminder creation feedback (#24) 2023-02-02 09:48:18 +05:00
eaeacc1206
Fix a critical performance issue in GuildData, skip guild ticks if running behind
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-02-02 00:16:31 +05:00
1c13f0a310
Resync roles before removing them during a mute
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-01-27 09:53:04 +05:00
8ca4b83b9c
Do not grant starter role if member is muted
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-01-27 09:52:13 +05:00
00f5fa0d8d
Fix removing everyone role while muting (#23)
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-01-27 09:46:03 +05:00
482d7ea91f
Reply to "++++" with "#" (#22) 2023-01-26 15:03:28 +00:00
b1e43611de
Resync roles when restarting bot
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-01-24 12:36:53 +05:00
9d5bafbbf5
Make sure every member has the starter role when ticking guilds
Closes #20

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-01-23 21:06:04 +05:00
c1e3abce57
Do not cache public & private feedback channels for no reason
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-01-23 20:29:44 +05:00
0bdf2cd33e
Reduce indenting, fix critical bug with private feedback being public and vice versa
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-01-18 22:10:31 +05:00
6f5a969704
One last touch...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-01-18 21:01:22 +05:00
22fdb53029
Update repository link in README (#18)
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-01-18 15:44:53 +00:00
0c89df4791
Fix CI failures
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-01-18 20:35:22 +05:00
c220a0f379
Rename solution & project, move the project files one layer up 2023-01-18 20:17:33 +05:00
b486d2d3d9
Fix GitHub workflow status badge (#16) 2023-01-18 19:46:03 +05:00
7b8888dae3
Refactor guild data storage (#13)
Co-authored-by: mctaylors <volkovvladislav8@gmail.com>
2023-01-18 19:39:24 +05:00
f0a6c8faff
Minor issue fixes 2022-12-21 11:52:09 +05:00
f175544211
Change the logo in README depending on the website theme (#12) 2022-12-11 09:18:46 +00:00
93ae380c9f
Create README.md (#11) 2022-12-10 10:10:48 +05:00
28b0668628
Add ReSharper code inspection (#10)
And cancel workflows in progress to avoid having multiple of the same
workflow running
2022-12-09 16:47:11 +05:00
938f918445
List supported languages if an invalid one is provided (#9)
Co-authored-by: l1ttleO <l1ttleofficial@outlook.com>
2022-12-09 16:39:21 +05:00
fc00558dce
Update to .NET 7 2022-12-08 13:51:49 +05:00
2596b48bde
Keep reply emojis as consts in a separate class (#8) 2022-12-06 20:33:46 +05:00
1258496697
Unhardcoded bot mention + some small fixes (#7)
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
2022-12-05 19:04:27 +05:00
c02f503557
Fix wrong languages being used in some places 2022-11-20 20:45:07 +05:00
e3cdcbcf0c
Fix newlines in event start notifications 2022-11-20 15:46:12 +05:00
8f10f37d2e
Fix event notifications not being delivered due to invalid config reference 2022-11-20 15:26:40 +05:00
917e7e5775
Optimize event handlers until we update to .NET 7 2022-11-16 23:28:05 +05:00
29c2332ad9
Log exceptions thrown during "fire-and-forget" async method calls 2022-11-16 23:27:10 +05:00
14ebcb1f1c
Fix some messages not being formatted 2022-11-13 17:40:46 +03:00
7dbc4472f7
Fix issues caused by refactor 2022-11-12 11:02:44 +05:00
3b12fb7e41
Fix a CodeFactor issue 2022-11-12 09:57:23 +05:00