db3e6fa7b0
fix: try to fix database connections not being closed sometimes
2025-02-11 15:28:12 +01:00
27e1903c4b
fix: also increment database connection count
2024-12-10 02:34:45 +01:00
5157105c35
fix: better logging
...
- verbose logging for log channel resolving logic
- don't LOG TOKENS TO THE CONSOLE OR SEQ
- actually log verbose logs to seq
- report open db connections to prometheus
2024-11-27 16:17:11 +01:00
4047df8610
fix: always get the latest migration even when two are applied at the same time
...
without also ordering by migration_name, two migrations being applied at
the same time *can* (but won't always) result in the *earlier* migration
being returned as the latest one. as our migrations are not idempotent,
this causes the bot to crash on startup (and even if they *were*
idempotent, the code that inserts the new migration name into the
migrations table isn't)
2024-11-27 15:22:29 +01:00
48a11be7b7
update to .net 9
2024-11-19 00:11:48 +01:00
e8feedb979
fix: correct name of down migration #5
2024-11-18 21:30:04 +01:00
4eb5c16451
refactor: change ulong[] to List<ulong> for better ergonomics
2024-11-18 21:02:42 +01:00
e12bd6194b
fix: actually store ignored channels/roles
2024-11-18 20:47:58 +01:00
0cac964aa6
feat: split ignores into 'ignore messages' and 'ignore entities'
2024-11-18 00:47:27 +01:00
d48ab7e16e
feat: freeze config backup model
...
the database model will probably change in the future, but backups should
keep the same model even when that happens.
2024-11-14 02:45:20 +01:00
254a50da4d
feat: clear timeouts that never get logged
2024-11-13 15:14:22 +01:00
0564206bf7
fix: disconnect all shards when shard manager restarts, don't fetch old timeouts
2024-11-12 17:25:50 +01:00
492283b9c1
feat: clean webhook cache upon leaving guild
2024-11-08 19:39:36 +01:00
db5d7bb4f8
feat: import/export settings, send backup of settings when leaving guild
2024-11-08 17:12:00 +01:00
e6d68338db
feat: store timeouts in database and log them ending
...
we have to do this because discord doesn't notify us when a timeout
ends naturally, only when a moderator removes it early.
2024-11-05 22:22:12 +01:00
f0fcfd7bd3
feat: replace buttons in /configure-channels with select menu
2024-11-05 16:20:24 +01:00
5f24a6aa88
feat: store system UUIDs of banned users per guild
2024-11-05 15:32:53 +01:00
ae4d9018ea
fix: don't change status in test mode, fix broken guilds query
2024-10-29 20:19:49 +01:00
225c162603
fix: fix invite renaming
2024-10-29 15:51:41 +01:00
a50a8567dd
feat: import messages from go version
2024-10-28 23:42:57 +01:00
b56a71e105
feat: watchlist commands
2024-10-28 16:25:42 +01:00
56af787e57
fix: don't specify duplicate key_roles in guild repository, let PK API service read strings as numbers
2024-10-28 14:57:05 +01:00
ff92c5f335
excise entity framework from all remaining code
2024-10-28 14:04:55 +01:00
d6c3133d52
fix: don't treat *ALL* messages as ignored
2024-10-28 12:30:15 +01:00
f0511a560c
feat: watchlist repository, remove ef core from all bot code
2024-10-28 02:14:41 +01:00
da4dfae27c
fix: dapper doesn't play nice with List<T>
2024-10-27 23:43:07 +01:00
64b4c26d93
add invite repository to replace ef core
2024-10-27 23:30:02 +01:00
5891f28f7c
feat: exorcise entity framework core from most responders
2024-10-27 23:02:42 +01:00
f7f88ff98f
don't track EFCore objects that don't need to be updated
2024-10-25 16:04:01 +02:00
1c43beb82f
attempt to add ignored channels page
2024-10-19 23:27:57 +02:00
ec7aa9faba
feat: start dashboard
2024-10-18 22:13:23 +02:00
3ab68d4091
chore: add license headers to all c# files
2024-10-14 14:56:40 +02:00
32732d74d0
feat: shard status update, delete old messages when they expire
2024-10-13 17:08:32 +02:00
8e030acaf3
feat: guild ban add/remove logging, store banned systems in database
2024-10-13 14:58:44 +02:00
d445b5ba44
feat: member avatar/name logging, timeout logging
2024-10-11 20:38:53 +02:00
4f54077c68
chore: format with csharpier
2024-10-09 17:35:11 +02:00
8f39d85486
feat: member add logs, improve meta command
2024-08-21 17:32:33 +02:00
df8af75dd4
finish ChannelUpdate responder
2024-08-20 18:18:17 +02:00
e17dcf90a1
move classes around, name caches more consistently, add more caches
2024-08-19 16:12:28 +02:00
e86b37ce2a
feat: add channel create responder and redis webhook cache
2024-08-16 22:28:05 +02:00
99c1587e7b
reformat
2024-08-16 17:04:24 +02:00
7ea945b427
fix message edit embed, ignore pk;edit triggers
2024-08-16 17:03:26 +02:00
8231c57bdf
feat: add message update handler
2024-08-16 00:51:19 +02:00
5585ffd6ea
feat: store message metadata
2024-08-15 01:12:34 +02:00
4db09346e2
feat: add /configure-channels command
2024-08-14 16:05:43 +02:00
8d4a7b1729
fix embed queue
2024-08-13 16:49:18 +02:00
ded4f4db26
init
2024-08-13 13:08:50 +02:00