dusk
021a5ae897
chore: more todos
2025-01-05 16:30:05 +09:00
dusk
eec9f64026
feat: implement proper ("static") parameters handling command parser -> bot
...
feat: handle few more commands bot side
fix(commands): handle missing parameters and return error
refactor(commands): use ordermap instead of relying on a sort function to sort tokens
2025-01-05 13:00:06 +09:00
alyssa
8d53021863
fix(bot): silence internal errors from initial handler checks
2025-01-02 05:20:43 +00:00
rladenson
4bfee8a090
fix: crash when no prefixes in config file
2025-01-01 20:47:24 -07:00
rladenson
edfc6714d6
feat: dynamically show primary command prefix
2025-01-01 19:15:13 -07:00
Iris System
0473bd8f01
feat(bot): add new guild settings command
2024-11-10 15:47:43 +13:00
Iris System
2dfb851246
feat: add abuse handling
2024-11-05 11:19:52 +13:00
alyssa
e4ed354536
feat: gateway service
2024-10-20 09:36:20 +09:00
alyssa
d305faf401
refactor(bot): clean up cache extensions
2024-08-07 19:14:32 +09:00
Iris System
66544b9d40
fix(bot): make proxy/log blacklists work properly with threads
...
Handling of both blacklists was inconsistent when dealing with threads:
- proxy blacklist of root channel blacklists all threads
- log blacklist of root channel _did not apply_ to threads
- couldn't proxy blacklist threads while leaving root channel proxyable
This change fixes the inconsistencies:
- proxy _and_ log blacklist of root channel affects all threads
- now able to individually proxy/log blacklist threads, with root
channel unaffected
2023-05-10 13:16:16 +12:00
spiral
9303dbb91e
refactor(bot): remove saving own user ID from ready event, rely on ID in config
2022-09-06 09:52:37 +00:00
spiral
c156951e19
fix(bot): incorrect conditional in logclean
2022-06-22 09:34:59 -04:00
spiral
9848b88d5b
feat(bot): don't query db message context when running commands
2022-06-15 19:28:34 -04:00
spiral
7cb3a3ea0f
feat(bot): remove hacky fix for extremely slow system deletes
...
they are no longer extremely slow
2022-06-15 18:52:50 -04:00
spiral
9dd3fba7e6
fix: show correct error in 'pk;debug proxy' when autoproxy is disabled for discord account
2022-06-13 14:52:07 -04:00
spiral
36e242986d
fix: fail-fast if we don't have Send Messages permissions in the current channel
2022-03-30 05:11:55 -04:00
spiral
7afba4ea95
chore: code cleanup (mostly whitespace / remove unused imports)
2022-03-30 04:36:22 -04:00
spiral
be89f907a0
feat: block running commands / proxying when system is being deleted
...
Large systems take way too long to delete, which causes any insert for that system to block a connection, which exhausts the connection pool
2022-03-23 21:32:18 -04:00
spiral
89c44a3482
feat: cache Discord DM channels in database
2022-01-22 02:47:47 -05:00
spiral
4a739c2d61
feat: better error reporting settings
2022-01-21 00:10:51 -05:00
spiral
50a24f03a7
refactor: only pass shard ID to event handlers instead of full shard object
2022-01-14 18:39:03 -05:00
spiral
d58cc216c0
fix: unbreak error reporting for @mention prefix
2022-01-14 15:05:46 -05:00
spiral
56d07e0f2d
feat: pk;config
2021-11-29 21:35:21 -05:00
spiral
1918c56937
feat: upgrade to .NET 6, refactor everything
2021-11-26 21:10:56 -05:00
spiral
7a5ba8246e
refactor: cache own user ID in IDiscordCache
...
- remove Cluster.User
- remove Cluster.Application (it was only being used as an alternative to Cluster.User for some reason)
- move Bot.PermissionsIn to DiscordCacheExtensions
2021-11-21 19:42:35 -05:00
spiral
e7f36eb31f
feat: async cache
...
this breaks logging bot permissions to Sentry.
we haven't had a need to check those recently (permissions issues were because of broken cache), so this is fine for now
this should be re-added in the future though
2021-11-17 20:41:02 -05:00
spiral
f897ce5a45
fix: re-enable error messages for explicit commands
2021-10-29 17:34:28 -04:00
spiral
92e45a07ff
refactor: add SqlKata for SQL generation, move connection handling into ModelRepository
2021-09-29 21:51:38 -04:00
spiral
ac2671452d
run dotnet format
2021-08-27 11:03:47 -04:00
Ske
4c17ee3d89
Fix proxying in channels without message history + reduce proxy latency
2021-08-08 21:56:24 +02:00
spiral
b9f73cadb7
feat: proxy debug command
...
Co-authored-by: Spectralitree <72747870+Spectralitree@users.noreply.github.com>
2021-08-03 21:06:14 -04:00
Ske
1f2b9f998d
Preliminary support for APIv9 and threads
2021-07-15 12:41:19 +02:00
Ske
41f1c58a9f
Merge branch 'new-shard-handler'
2021-06-08 10:20:59 +02:00
Ske
118f2d49a6
WIP new shard implementation
2021-06-08 10:19:54 +02:00
Ske
aa2a234f8d
Fix permission error on message edit handler
...
Signed-off-by: Ske <voltasalt@gmail.com>
2021-05-03 10:29:22 +02:00
spiral
cf93b8b3cc
fix: don't try matching commands if there is nothing to match
2021-05-01 19:18:04 +01:00
spiral
a7189fab8c
Fix handling replies in edited messages
2021-03-22 07:07:33 +00:00
Ske
80c572f594
Fix various bugs and regressions
2021-01-31 16:02:34 +01:00
Ske
f6fb8204bb
Add embed builder, some more ported classes
2020-12-23 02:19:02 +01:00
Ske
05334f0d25
Converted enough to send the system card
2020-12-22 16:55:13 +01:00
Ske
a6fbd869be
Initial commit, basic proxying working
2020-12-22 13:15:26 +01:00
spiral
37294b68da
Add disabling autoproxy per-account
2020-11-22 09:42:40 -05:00
Ske
c0c4871f0b
Fix cache error using log channel
2020-11-15 15:07:20 +01:00
Ske
634173e205
Update to D#+ 4.0.0-rc1
2020-11-15 13:53:31 +01:00
Ske
eab1cb1645
Ignore self-messages
2020-09-20 21:49:52 +02:00
Ske
c7612df37e
Major database refactor (again)
2020-08-29 13:46:27 +02:00
Ske
2206185d55
Add command prefix configuration
2020-08-25 19:32:19 +02:00
Ske
472e556ef0
Pass proper allowed_mentions when sending webhook messages
2020-06-28 20:26:14 +02:00
Ske
e4d51b5198
Explicitly check for bot/WH users before running command handler
2020-06-26 01:49:51 +02:00
Ske
2c35649ef0
Use AllowedMentions to disable mentions everywhere by default
2020-06-20 17:33:10 +02:00