Commit Graph

613 Commits

Author SHA1 Message Date
Iris System
83af1f04a7
feat(bot): add support for Discord message context commands (#513) 2023-05-16 03:17:34 +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
Bray
1a4b21ccac
feat(bot): support threads for logs (#541) 2023-03-24 15:18:23 +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
1b3fa07c67 feat(bot): update help message footer with bot icon credit 2023-02-25 08:26:08 +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
25c55df3b3 feat(bot): allow clearing embeds from proxied messages 2023-01-08 03:07:22 +13: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
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
f9abcc68c4
refactor(bot): separate MatchClear from ConfirmClear 2022-12-01 07:16:36 +00: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
Iris System
0d27e669c8 feat(bot): add admin commands for hid rerolls 2022-11-23 23:53:40 +13: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
Iris System
b2bfe93013 chore: lint 2022-11-23 03:13:33 +13:00
Iris System
9153c26425 feat(bot): add -wid flag to pk;s fh to show member IDs 2022-11-22 23:02:38 +13:00
Iris System
3db818741a feat(bot): add -nospace (-ns) flag to pk;edit append/prepend mode
Also adds flag aliases `-a` (`-append`) and `-p` (prepend)
2022-11-22 23:02:38 +13:00
Iris System
2fca75782c feat(bot): display currently-latched member in pk;ap embed 2022-11-22 23:02:37 +13:00
spiral
2745ee6156
fix(bot): check proxy tag length when overwriting 2022-11-17 00:44:00 +00:00
poggingfish
9fdb2f36be
Correct grammar for switches (#491) 2022-11-05 16:47:09 -04:00
KJP12
fa625612ba
Fix missing newlines in display name commands' help/preview (#489)
Includes...
- `pk;group aaaaa displayname`
- `pk;member aaaaa displayname`
2022-11-03 20:08:42 -04:00
spiral
e2a6ee208b
chore: lint 2022-11-03 22:24:17 +00:00
spiral
e525c2da63
feat(bot): tweak wording for short list flag error 2022-09-22 19:17:43 +00:00
spiral
897fad12e6
fix(bot): apply display name length checks when setting 2022-09-22 18:11:27 +00:00
spiral
a2b38c45e2
feat(bot): -with-birthday flag for showing birthday in short member list 2022-09-22 17:59:56 +00:00
spiral
44fe3d538a
feat(bot): -with-birthday flag on member lists 2022-09-22 17:29:34 +00:00
spiral
47449ecbc7
fix: typo 2022-09-22 17:27:58 +00:00
spiral
5aa8d45139
fix(bot): throw error if user requests incompatible list options
current behaviour is to silently ignore the incompatible ones, but this will make it more obvious as to why what they're trying to do is not working
2022-09-22 17:17:53 +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
Jake Fulmine
67d5118c9c fix: apply requested changes 2022-08-27 15:15:14 +02:00
Jake Fulmine
cd14e6409b feat: add command for calling up ids 2022-08-27 13:52:50 +02:00
Jake Fulmine
ccac0a9203 feat: add pk;random for other systems 2022-08-27 13:32:48 +02:00
Jake Fulmine
c77b2bb4fc feat: show character amount for string fields 2022-08-27 11:25:44 +02:00
Iris System
e23b1048c9 fix(bot): use LastMessageCache for reproxy latest message check
(thanks spiral for catching this lmao)
2022-08-27 18:58:54 +12:00
Iris System
d9fe78bdf2 feat(bot): always allow reproxying latest message in channel 2022-08-27 17:02:50 +12:00
Iris System
f54cfbdff3 fix(bot): show correct subjects in pk;m <id> privacy embed 2022-08-27 17:01:29 +12:00
Iris System
1ea37696e3 fix(bot): check bot perms for UseExternalEmojis instead of @/everyone 2022-08-05 09:42:01 +12:00
spiral
07936ec561
fix(bot): crash in 'pk;ap' command when system has no switches registered 2022-06-27 05:42:23 -04:00
spiral
b04b6e38d2
feat(bot): allow 'pk;logclean' in DMs 2022-06-21 11:13:24 -04:00
spiral
bebad3fd77
feat(bot): add dashboard link and 'pk;commands' to help command 2022-06-20 19:22:50 -04:00
spiral
5c055871e3
feat(bot): store command message info in redis 2022-06-19 20:28:55 -04:00