Commit graph

130 commits

Author SHA1 Message Date
alyssa
a8664665a6 feat: add last message cache to gateway 2025-04-04 11:10:39 +00:00
Iris System
2b7f510e17 fix(bot): strip excessive linefeeds in reply embed generation 2025-03-11 11:22:18 +13:00
alyssa
8266100155 fix(bot): clean up some error messages 2025-02-23 11:02:55 +00:00
rladenson
edfc6714d6 feat: dynamically show primary command prefix 2025-01-01 19:15:13 -07:00
Iris System
b88c1b7712 feat(bot): server config toggle for @silent proxied messages 2024-12-30 04:33:17 +00:00
Petal Ladenson
6043d31b08
feat: alternate proxy switch mode "add" (#702)
* feat: alternate proxy switch mode "add"

* docs: add proxy switch add to docs

* chore: change default alias to proxy switch new from proxy switch on
2024-12-05 18:24:20 -07:00
alyssa
dfd3cba6dd fix(bot): set correct guild/channel values for messages reproxied in DMs 2024-11-14 13:40:35 +09:00
Iris System
b26ca69071 fix(bot): make tag enforcement check name formatting 2024-11-12 21:21:12 +13:00
Iris System
0473bd8f01 feat(bot): add new guild settings command 2024-11-10 15:47:43 +13:00
Petal Ladenson
e1c2e6b6d6
feat(bot): add option to log a switch when proxying 2024-11-10 03:34:06 +09:00
alyssa
e4ed354536 feat: gateway service 2024-10-20 09:36:20 +09:00
alyssa
b898b01680 Revert "feat(bot): remove double push notifications"
This reverts commit 9a6254c01f.
2024-10-05 23:07:17 +09:00
Petal Ladenson
7fb1681cac
fix(bot): fix typo in ProxyService 2024-10-05 01:26:41 +09:00
Petal Ladenson
d1dd4477d1
fix(bot): let you blacklist any channel you can proxy in 2024-10-04 19:58:24 +09:00
Petal Ladenson
9a6254c01f
feat(bot): remove double push notifications 2024-10-03 17:42:26 +09:00
ambdroid
9699490674
feat(bot): add poll proxying 2024-10-01 21:38:35 +09:00
alyssa
d305faf401 refactor(bot): clean up cache extensions 2024-08-07 19:14:32 +09:00
Iris System
f99e10ae08 fix(bot): enable proxying in media channel threads
These support webhooks now, yay
2023-10-07 21:58:40 +13:00
Jake Fulmine
22ce250b56 feat: per-server keepproxy toggling (#574)
Merges PluralKit/PluralKit#574
2023-08-10 18:31:11 +12:00
rladenson
e58b3c7274 feat: add text-to-speech option to members (#570)
Merges PluralKit/PluralKit#570
2023-08-10 18:30:37 +12:00
Iris System
97e7df5e4d fix(bot): remove absurdly long links from reply embeds 2023-07-13 21:02:31 +12:00
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
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
Jake Fulmine
8187aa05b7
feat(bot): add proxy error config (#544) 2023-03-26 11:42:47 +13:00
Iris System
b2c61e3e8e fix(bot): correctly use thread permissions in reproxy check 2023-02-27 09:18:00 +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
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
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
spiral
bf7747ab34
feat: split out messages table from main database 2022-11-23 09:17:19 +00:00
Katrix
4f0236d766
feat(bot): Case insensitive proxy tags matching (#490) 2022-11-23 21:48:24 +13:00
spiral
44efc15b90
fix(bot): do not proxy the initial message in a forum post (#494) 2022-11-03 22:39:06 +00:00
Iris System
81188bc61d fix(bot): stop FixSameName breaking end-of-name emoji 2022-10-13 08:25:16 +13:00
Iris System
9e0ca8d03e fix(bot): use different character in FixSameName 2022-10-13 07:47:55 +13:00
the iris system
fcd1ec486e
fix(bot): filter out non-rich Discord embeds in reproxy (#476) 2022-07-19 20:34:43 -04:00
Iris System
07e86c4cd5 fix(bot): make reproxy change reply embed color 2022-07-05 12:22:35 +00:00
spiral
9848b88d5b
feat(bot): don't query db message context when running commands 2022-06-15 19:28:34 -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
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
Ske
51fb561841 fix: a couple more minor reproxy fixes 2022-06-06 00:59:53 +02:00
Ske
6511c04c6c fix: don't fetch non-thread channels twice 2022-06-05 23:27:54 +02:00
Ske
995fddf929 fix: include guild member in reproxy permission check 2022-06-05 23:27:54 +02:00
spiral
a18fd9bd0d
chore: update github repo URL 2022-06-05 12:57:10 -04:00
Iris System
d500aacd2d feat: make pk;reproxy handle keepproxy correctly 2022-05-27 11:08:32 +12:00
the iris system
ee17fcb11f
feat: add pk;reproxy (#447) 2022-05-08 21:10:07 +00:00