Commit Graph

38 Commits

Author SHA1 Message Date
Iris System
25c55df3b3 feat(bot): allow clearing embeds from proxied messages 2023-01-08 03:07:22 +13: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
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
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
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
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
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
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
spiral
7afba4ea95
chore: code cleanup (mostly whitespace / remove unused imports) 2022-03-30 04:36: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
df6a6fcf12
refactor: don't DI IDatabase and ModelRepository into bot command classes 2022-01-22 03:05:01 -05:00
spiral
ddbf0e8691
Revert "feat: remove 2000-character limit for proxied messages"
This reverts commit 7cc2aab1f0.
2022-01-21 18:24:55 -05:00
spiral
31a129dabf
fix: check HasNext after matching message in EditMessage, use PKSyntaxError instead of PKError 2022-01-21 17:10:00 -05:00
spiral
7cc2aab1f0
feat: remove 2000-character limit for proxied messages 2022-01-14 15:08:39 -05:00
spiral
34df19c551
fix: don't delete rows from messages table when the associated member is deleted 2022-01-11 09:43:55 -05:00
spiral
91213faa50
fix: correctly throw missing content error in pk;edit 2022-01-07 14:06:37 -05:00
spiral
91256368f5
fix: throw error when pk;edit message is too long 2021-12-07 02:02:22 -05:00
spiral
1918c56937
feat: upgrade to .NET 6, refactor everything 2021-11-26 21:10:56 -05:00
spiral
0ca356eec3
feat: add support for attachment descriptions 2021-11-19 09:34:52 -05:00
spiral
e7f36eb31f
feat: async cache
this breaks logging bot permissions to Sentry.

we haven't had a need to check those recently (permissions issues were because of broken cache), so this is fine for now
this should be re-added in the future though
2021-11-17 20:41:02 -05:00
spiral
343fafe9f0
feat: respect Discord permissions in pk;message and pk;edit 2021-11-10 23:46:16 -05:00
Katrix
b998636cbe
feat: add -raw flag to pk;msg (#399) 2021-10-29 16:42:10 -04:00
spiral
92c1b4de56
feat: add reaction checkmark on command message delete in DMs 2021-10-06 19:46:49 -04:00
spiral
92e45a07ff
refactor: add SqlKata for SQL generation, move connection handling into ModelRepository 2021-09-29 21:51:38 -04:00
spiral
0517c76abf
feat: delete command messages with pk;msg -delete 2021-09-26 22:49:43 -04:00
spiral
db5fae0fb4
feat: edit messages in threads 2021-09-24 19:03:40 -04:00
spiral
c472a7f6df
lint/fixes, add group patch validation 2021-09-22 13:48:34 -04:00
spiral
2973325e12
fix: don't try deleting pk;msg -delete message in DMs 2021-09-13 02:21:39 -04:00
spiral
b3a8432039
fix: add NormalizeLineEndSpacing to pk;edit 2021-09-13 01:57:39 -04:00
spiral
ac2671452d
run dotnet format 2021-08-27 11:03:47 -04:00
spiral
b46561cb0a
refactor: move some commands out of Misc 2021-08-25 14:36:13 -04:00