Commit Graph

1208 Commits

Author SHA1 Message Date
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
spiral
8e24b8afc8
fix(bot): correct beta bot channel in error message 2022-11-11 21:36:14 +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
9160e58c0c
fix: ignore dotnet compiler warning in WebhookExecutorService 2022-11-03 23:53:35 +00:00
spiral
44efc15b90
fix(bot): do not proxy the initial message in a forum post (#494) 2022-11-03 22:39:06 +00:00
spiral
e2a6ee208b
chore: lint 2022-11-03 22:24:17 +00:00
Sam
ff70c26dae fix: put pk;commands member/pk;m help output in embed 2022-10-27 16:03:09 +13: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
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
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
c77da49d30
chore(bot): raise Discord embed description character limit
short lists should (hopefully) have line breaks less often now
2022-09-22 17:19:18 +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
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
aeb6411b6c
fix(bot): always connect to redis if a redis address is configured 2022-09-02 08:54:32 +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
spiral
3a7e8422af
fix: better documentation for pk;config 2022-08-15 10:05:29 +02:00
Iris System
1ea37696e3 fix(bot): check bot perms for UseExternalEmojis instead of @/everyone 2022-08-05 09:42:01 +12:00
the iris system
fcd1ec486e
fix(bot): filter out non-rich Discord embeds in reproxy (#476) 2022-07-19 20:34:43 -04: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
6b4f620c7f
Merge branch 'chore/grpc-tools-update' of ssh://github.com/u1f408/pluralkit 2022-07-05 14:41:16 -04:00
Iris System
07e86c4cd5 fix(bot): make reproxy change reply embed color 2022-07-05 12:22:35 +00:00
Iris System
52127d9255 chore: update nuget Grpc.Tools to 2.47.0
The version previously used (2.37.0) is completely broken on
aarch64 Linux, so building the bot just didn't work there.
2022-07-05 11:15:30 +00:00
spiral
07936ec561
fix(bot): crash in 'pk;ap' command when system has no switches registered 2022-06-27 05:42:23 -04:00
Ske
b47694edc1 fix: include cache in redis-received events 2022-06-22 19:01:12 +02:00
spiral
c156951e19
fix(bot): incorrect conditional in logclean 2022-06-22 09:34:59 -04:00
spiral
b04b6e38d2
feat(bot): allow 'pk;logclean' in DMs 2022-06-21 11:13:24 -04:00
spiral
cfd9dff6c5
feat(bot): tag cluster ID in sentry events 2022-06-21 11:11:47 -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
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
65e2bb0234
feat(bot): remove cluster-local DM channel cache 2022-06-14 23:11:55 -04:00
spiral
f0b5749d5c
feat(bot): clean up / paginate help command 2022-06-14 19:05:15 -04:00
spiral
f3c02a4254
feat(bot): remove deprecated commands 2022-06-14 15:55:08 -04:00
spiral
13efdbee83
typo 2022-06-14 14:41:32 -04:00
spiral
c4726f358b
feat(bot): get cluster config from Nomad node index env variable 2022-06-14 14:18:37 -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
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
b30e2a01e3
feat: add '-raw' flag to color commands 2022-06-13 14:35:18 -04:00
spiral
6ed066de29
Merge branch 'main' of ssh://github.com/pluralkit/pluralkit 2022-06-11 00:48:21 -04:00
spiral
2fbd5cf6c1
chore: remove unused files from repo 2022-06-11 00:46:37 -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
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
Ske
9cbbd220ac crimes 2022-06-05 20:42:27 +02:00
spiral
a18fd9bd0d
chore: update github repo URL 2022-06-05 12:57:10 -04:00
spiral
8027527055
merge pull request #450
add official PluralKit web dashboard
2022-06-05 12:39:42 -04:00
spiral
614059c79f
fix: correct error text on pk;unlink 2022-06-03 01:15:15 -04:00
spiral
a95fd34881
feat: add dashboard links to system/member/group cards 2022-06-03 01:09:02 -04:00
spiral
0ee0e75e02
feat: add 'pk;log show' command 2022-06-02 22:36:42 -04:00
Iris System
d500aacd2d feat: make pk;reproxy handle keepproxy correctly 2022-05-27 11:08:32 +12:00
spiral
799279054d
fix: include shard_id in redis channel 2022-05-10 07:32:14 -04:00
Iris System
4c8e5d9aec feat: add aliases: pk;ap l (latch), pk;ap f (front) 2022-05-08 17:12:09 -04:00
Iris System
f25b967a36 feat: add aliases: pk;h (help) and pk;m <member> kp (keepproxy) 2022-05-08 17:12:09 -04:00
Iris System
a66d459756 feat: add "rn" as alias for "rename" for systems+members+groups 2022-05-08 17:12:09 -04:00
Iris System
b8fda734e2 feat: add more systemtag-related command aliases
- `pk;s t` for tag
- `pk;s st` for servertag (taken from a Notion suggestion)
2022-05-08 17:12:09 -04:00
the iris system
ee17fcb11f
feat: add pk;reproxy (#447) 2022-05-08 21:10:07 +00:00
spiral
fe69b1b320
chore: lint 2022-05-07 17:27:12 -04:00
Iris System
1008032171 feat: auto-export system on deletion
Refuses to delete system unless a DM can be sent with the export file,
use `-no-export` (`-ne`) to override
2022-05-08 09:16:20 +12:00
spiral
430a33ccf0
fix: don't ignore flags in pk;system color 2022-05-02 15:54:49 -04:00
spiral
1b5efb6669
feat: add Context.CommandPrefix 2022-05-02 14:53:08 -04:00
spiral
bc2cfbeba3
fix: check if member target is 5-length alpha before trying to search by HID (#441) 2022-04-24 14:51:47 -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
1e86c2d6c4
chore: lint 2022-04-20 10:47:15 -04:00
spiral
aa896de3af
fix: ignore nirn-proxy timeouts in IsOurProblem 2022-04-20 10:45:35 -04:00
spiral
6faed635fa
fix: parse some stuff correctly when using Redis gateway 2022-04-13 08:50:04 -04:00
spiral
c2094e3b7a
feat(bot): add Redis cache 2022-04-13 08:44:53 -04:00
spiral
fadf007abc
feat(gateway): initial commit 2022-04-11 15:55:10 -04:00
spiral
9314ce672a
fix: don't query /gateway/bot if we already have the info from cluster config 2022-04-10 10:41:26 -04:00
spiral
36873e08ee
chore: PR lint 2022-04-07 03:47:38 -04:00
UsernameNotAvalible
8d50ae55e7
feat: add prepend and append switches to Pk;edit (#436) 2022-04-07 03:43:46 -04:00
rladenson
576b23bca5
fix: try getting own-system members first even when matching hid (#439)
this is a bandaid fix for an issue where queries matching only the hid index would get stuck forever
2022-04-06 02:19:35 -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
6a213fa694
feat: dispatch new bot status to clusters via Redis 2022-03-30 20:42:57 -04:00
spiral
973d6d883c
fix: get guild from REST for pk;proxy across clusters
also closes #330.
2022-03-30 05:54:21 -04:00
Jake Fulmine
494f93d629
feat: add some aliases (pk;ls and -wprns) (#432) 2022-03-30 05:42:34 -04:00
spiral
dce29ec933
fix: show correct error when mentioned account doesn't have a system 2022-03-30 05:27:15 -04:00
spiral
ec6d4865cb
fix: show displayname field even when member name is private 2022-03-30 05:21:26 -04:00