Commit Graph

1213 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
a0fa03599b fix(bot): display new Discord usernames correctly 2023-06-28 13:55:21 +12:00
Iris System
e4a2930bf3 fix(bot): correctly reproxy voice messages 2023-05-28 14:46:46 +12:00
Iris System
97666a62df fix(bot): make EmbedLinks permission check work with threads 2023-05-28 14:42:18 +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
Connor Brennan
b0ae2d3b20 feat(bot): standardize description aliases, new server tag alias (#551) 2023-05-12 14:46:46 +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
Iris System
24f0fcd563 fix(bot): allow proxying in stage text channels (fixes #550) 2023-05-07 22:15:29 +12:00
spiral
eefbaf0c1d feat(bot): correctly proxy voice messages 2023-04-15 12:10:04 -04:00
Jake Fulmine
8187aa05b7 feat(bot): add proxy error config (#544) 2023-03-26 11:42:47 +13:00
spiral
020a6f99fe feat(docs): add some previously undocumented commands 2023-03-25 16:08:44 -04:00
Bray
1a4b21ccac feat(bot): support threads for logs (#541) 2023-03-24 15:18:23 +00:00
Ouroboros
4ca296de6c feat(bot): 'g' shorthand for pk;m <n> group (#532) 2023-03-13 16:38:20 +00:00
Ouroboros
97be223173 feat(bot): Switch subcommand aliases (#531) 2023-03-12 02:24:54 +00:00
spiral
f6a9d693cd fix(bot): ignore charset from discord cdn for export files 2023-03-11 17:45:22 -05: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
Iris System
b2c61e3e8e fix(bot): correctly use thread permissions in reproxy check 2023-02-27 09:18:00 +13:00
Iris System
1b3fa07c67 feat(bot): update help message footer with bot icon credit 2023-02-25 08:26:08 +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
1c159c37ff fix(bot): wait for database insert before deleting original message
Closes #495

Co-authored-by: spiral <spiral@spiral.sh>
2023-02-05 01:29:41 +13:00
rladenson
67376be123 feat(bot): change message count sorting (#514) 2023-02-05 00:52:18 +13:00
Iris System
683b616a1b fix(bot): make pk;import handle <> wrapped URLs 2023-01-09 04:32:41 +13:00
Iris System
10287d0146 chore: update lockfiles (since dependabot didn't) 2023-01-09 04:31:11 +13:00
Iris System
25c55df3b3 feat(bot): allow clearing embeds from proxied messages 2023-01-08 03:07:22 +13:00
spiral
f0aa48f00a fix(bot): don't check for permissions when deleting messages in DMs 2022-12-30 00:11:14 +00:00
spiral
757a4ea5e2 fix(bot): fix blargbot log cleanup
closes #467
2022-12-29 01:50:04 +00:00
spiral
9be65d03b1 fix(bot): ignore permission errors trying to delete user messages in DMs 2022-12-29 01:36:02 +00:00
spiral
c91349a1d6 fix(bot): expose PKErrors from message edit proxy handler 2022-12-29 01:34:50 +00:00
spiral
3129f05b0f fix(bot): show error message when content-type header is missing from avatar url response 2022-12-29 01:21:01 +00:00
spiral
0cf0560701 refactor(bot): better way to throw proxy errors received from discord 2022-12-29 00:52:37 +00:00
spiral
b1586c88e1 fix(bot): don't crash when sorting by last message and last message is null 2022-12-15 01:04:46 +00:00
spiral
74d621455a fix(bot): correct error for pk;debug proxy pointing to a DM channel message 2022-12-15 00:57:22 +00:00
spiral
99d71aec2c feat(bot): update logclean for Dyno change 2022-12-14 20:42:45 +00:00
spiral
c22de98271 feat(bot): ignore 409 responses from discord 2022-12-14 14:51:32 +00:00
spiral
ad59fa92f1 feat(bot): ignore a few more database errors 2022-12-14 14:47:08 +00:00
spiral
b01ffa8161 fix(bot): hopefully fix NRE in reaction listener 2022-12-10 16:51:33 +00:00
spiral
d5adcaf76c fix(bot): ignore "out of shared memory" postgres error 2022-12-10 16:50:43 +00:00
spiral
24db9f28c2 fix(bot): add callback to update message count after proxying
also re-add -with-last-message flag :D
2022-12-10 16:50:22 +00:00
spiral
2fea773d7e fix(bot): validate url in pk;import 2022-12-06 10:15:20 +00:00
spiral
2602763e25 feat(bot): don't send internal error messages for some errors that should be on sentry 2022-12-03 11:57:43 +00:00
spiral
026a822c74 feat: add logging to Seq 2022-12-03 11:49:19 +00:00
spiral
f9abcc68c4 refactor(bot): separate MatchClear from ConfirmClear 2022-12-01 07:16:36 +00:00
spiral
f06fdb38ef fix(bot): i forgot how serilog works 2022-11-28 19:25:20 -05:00
spiral
580b4dfe7b feat(bot): add interaction logging info for debugging with Discord 2022-11-28 17:45:26 -05:00
rladenson
1960fa9dfd fix(bot): Show correct command for proxy case (#500) 2022-11-25 04:35:14 +00:00
spiral
07845edee6 Merge remote-tracking branch 'origin/main' 2022-11-24 06:32:59 +00:00
spiral
e9673a6704 feat: use redis cache for non-id message lookups 2022-11-24 06:32:55 +00:00
Iris System
e65c2de542 feat(bot): add admin command for account recovery 2022-11-23 23:54:21 +13:00