Commit Graph

382 Commits

Author SHA1 Message Date
Iris System 6b14c50f09 fix(bot): only allow proxying in known-supported channel types
This is so that new channel types added by Discord (that may or may not
support the features we need for proxying to work) don't throw piles of
error codes at users when they try to proxy.
2023-06-28 14:38:50 +12:00
Iris System 83af1f04a7 feat(bot): add support for Discord message context commands (#513) 2023-05-16 03:17:34 +12:00
Iris System 1b95740c86 fix(bot): truncate system fronter list in embed creation 2023-05-12 15:37:26 +12: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 eefbaf0c1d feat(bot): correctly proxy voice messages 2023-04-15 12:10:04 -04:00
Bray 1a4b21ccac feat(bot): support threads for logs (#541) 2023-03-24 15:18:23 +00:00
the iris system ccb89f50e9 feat(bot): allow separate member avatars for proxied messages (#523)
This allows for using one avatar for the member card, and a different
avatar for proxied messages - so that users can set the main avatar to
a "full" version of their avatar, and the "proxy" avatar to a cropped
version.
2023-03-02 06:11:35 +13:00
spiral 3e76fd8d28 chore: require redis connection for bot 2023-02-12 18:00:05 -05:00
Iris System 51ceb36129 fix(bot): use newly-exposed message ID in Carl-bot logclean 2023-02-08 03:05:08 +13:00
Iris System 25c55df3b3 feat(bot): allow clearing embeds from proxied messages 2023-01-08 03:07:22 +13:00
spiral 757a4ea5e2 fix(bot): fix blargbot log cleanup
closes #467
2022-12-29 01:50:04 +00:00
spiral 0cf0560701 refactor(bot): better way to throw proxy errors received from discord 2022-12-29 00:52:37 +00:00
spiral 99d71aec2c feat(bot): update logclean for Dyno change 2022-12-14 20:42:45 +00:00
spiral e9673a6704 feat: use redis cache for non-id message lookups 2022-11-24 06:32:55 +00:00
spiral 8e24b8afc8 fix(bot): correct beta bot channel in error message 2022-11-11 21:36:14 +00:00
spiral 9160e58c0c fix: ignore dotnet compiler warning in WebhookExecutorService 2022-11-03 23:53:35 +00:00
spiral e2a6ee208b chore: lint 2022-11-03 22:24:17 +00:00
spiral 014999271f feat(proxy): throw user-readable error on 413 when sending proxied attachments 2022-09-29 17:54:03 +00:00
spiral 5196e332df feat(proxy): throw user-readable error when discord rejects a webhook username 2022-09-29 17:52:28 +00:00
spiral 05aecf730a fix(proxy): only fix here/everyone if entire webhook name is matching 2022-09-24 15:35:45 +00:00
spiral ba32038c28 feat(proxy): temporarily remove invalid character check on webhook names 2022-09-20 16:45:16 +00:00
spiral 48bb46bdfa fix(proxy): correctly apply Discord webhook name restrictions (part 2) 2022-09-20 16:24:51 +00:00
spiral a441c00d94 fix(proxy): correctly apply Discord webhook name restrictions
Closes #484.
2022-09-20 16:04:36 +00: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 62a57bc818 fix: don't try to register messages to redis if the redis connection isn't configured 2022-07-17 00:30:05 +02:00
spiral cc0edd3ed8 chore: lint 2022-07-05 14:42:58 -04:00
spiral 5c055871e3 feat(bot): store command message info in redis 2022-06-19 20:28:55 -04:00
spiral 9848b88d5b feat(bot): don't query db message context when running commands 2022-06-15 19:28:34 -04:00
spiral 65e2bb0234 feat(bot): remove cluster-local DM channel cache 2022-06-14 23:11:55 -04:00
spiral 5833e7644d fix: don't crash when trying to log edited message with no old content 2022-06-13 21:18:24 -04:00
spiral 6ed066de29 Merge branch 'main' of ssh://github.com/pluralkit/pluralkit 2022-06-11 00:48:21 -04:00
spiral 1c9a68cb53 chore: lint 2022-06-10 18:49:36 -04:00
spiral 1b5a90f612 feat(bot): add stats tracking for dm channel cache hits/misses 2022-06-10 18:08:56 -04:00
Ske 51fb561841 fix: a couple more minor reproxy fixes 2022-06-06 00:59:53 +02:00
spiral a95fd34881 feat: add dashboard links to system/member/group cards 2022-06-03 01:09:02 -04:00
spiral 799279054d fix: include shard_id in redis channel 2022-05-10 07:32:14 -04:00
spiral 183779e055 fix: don't show discord user's guild nickname if not allowed to see message content 2022-04-24 14:43:27 -04:00
spiral fadf007abc feat(gateway): initial commit 2022-04-11 15:55:10 -04:00
spiral e0ed5b528e fix: get thread parent from API instead of cache for cross-cluster message edit 2022-03-31 07:23:31 -04:00
spiral 7afba4ea95 chore: code cleanup (mostly whitespace / remove unused imports) 2022-03-30 04:36:22 -04:00
Jake Fulmine 7efe6f1f97 feat: system pronouns (#429) 2022-03-23 14:20:16 -04:00
spiral 8909330db2 feat: aggregate cluster statistics and send to influx with scheduled tasks worker 2022-03-14 23:33:22 -04:00
spiral ae543b9c18 feat: fetch from REST instead of cache for cross-cluster lookups 2022-03-09 20:06:53 -05:00
spiral d0ad7abb03 feat: add the rest of the Dynos to logclean 2022-03-03 06:01:23 -05:00
spiral 32a73eef09 feat: update to Discord API v10 2022-02-26 16:28:20 -05:00
spiral 1ec3663f63 feat: add cluster ID to shard state 2022-02-07 11:05:55 -05:00
spiral 375758206e fix: show correct name in entityReference when base name is private 2022-02-05 09:26:14 -05:00
spiral fc8f1b7cd3 fix: don't require Redis for startup 2022-02-04 14:53:56 -05:00
spiral 84e7e71f88 fix(logclean): use application ID rather than bot user ID when needed 2022-01-23 01:47:04 -05:00
spiral 0419ced0d2 feat: store shard status in Redis 2022-01-22 03:52:52 -05:00