Commit Graph

1566 Commits

Author SHA1 Message Date
Grey Himmel
65b4f0e370 Add color to system JSON representation 2021-09-25 15:05:42 -04:00
spiral
d49b9f9bb7 ignore reactions added by the bot itself 2021-09-25 15:04:06 -04:00
Ske
8aa448c475 Fix executing some commands without defs 2021-09-25 20:24:16 +02:00
Ske
b6fc86d427 Collect command runtime metrics 2021-09-25 20:15:24 +02: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
bc2c198a82 group import/export 2021-09-21 21:42:41 -04:00
spiral
a09f819924 re-enable FixSameName (with database fix) 2021-09-18 19:14:08 -04:00
spiral
07b12f39b0 aaaaaaa 2021-09-13 08:42:51 -04:00
spiral
78ab3f8bcd feat: don't show an error when running raw pk;commands 2021-09-13 04:39:06 -04:00
spiral
d005358acc feat: add channel-specific permcheck 2021-09-13 04:21:03 -04:00
spiral
9914dd719c feat: add -raw flag to servertag 2021-09-13 03:26:24 -04:00
spiral
a2bf70b395 feat: don't try to match other systems' members in switch / group add commands 2021-09-13 03:14:59 -04:00
spiral
dec228d5bd feat: add limit reach warning to pk;group new 2021-09-13 02:46:40 -04:00
spiral
b390c8ab62 fix MatchRaw commands one more time :/ 2021-09-13 02:33: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
42422f475b feat: allow deleting *any* message in DMs 2021-09-13 02:13:36 -04:00
spiral
fc11a7b8ee feat: raise command message retention time to 24 hours 2021-09-13 02:13:19 -04:00
spiral
13f5b63c59 feat: add last global restart time to pk;stats card 2021-09-13 01:57:51 -04:00
spiral
b3a8432039 fix: add NormalizeLineEndSpacing to pk;edit 2021-09-13 01:57:39 -04:00
spiral
a165a42046 fix MatchRaw commands *again* 2021-09-13 01:57:31 -04:00
spiral
bae883c11f refactor: consolidate [x]TooLongErrors into StringTooLongError 2021-09-13 01:57:15 -04:00
Ske
b9d090d8cf Don't hang shard startup for too long 2021-09-07 02:21:46 +02:00
Ske
6dfc937257 Attempted fix for concurrent shard startup 2021-09-07 02:17:41 +02:00
spiral
95e0fcc36d fix: missing returns for pk;s tag command 2021-09-06 20:07:46 -04:00
spiral
b71e97a5e9 fix: actually pass group actioned/not actioned count properly to GenerateResponse
I hope this works. This code is all a mess. Refactor when?
2021-09-06 19:26:47 -04:00
spiral
023d2577e5 fix: don't skip flags before MatchClear/MatchRaw 2021-09-06 19:09:43 -04:00
spiral
ae5451d901 fix: description embeds missing format $ 2021-09-06 18:56:06 -04:00
Ske
84fb49e57c Also normalize interaction tokens in URLs 2021-09-07 00:11:57 +02:00
Ske
9bbe9df16d Clean up a few database pool uses 2021-09-03 22:20:07 +02:00
Ske
13260a4b0e Disable FixSameName for the time being 2021-08-31 01:31:12 +02:00
spiral
4dffdb2e9a feat(docs): document -raw flag 2021-08-27 22:31:28 -04:00
spiral
7aaa89c65c fix: don't automatically prompt user to unlink the current account if no arguments are passed 2021-08-27 22:27:40 -04:00
Spectralitree
0553e42eca refactor: tweak -raw usage (#341)
Co-authored-by: spiral <spiral@spiral.sh>
2021-08-27 19:20:14 -04:00
spiral
2ddef25177 refactor: don't use a class for GroupAddRemoveResponse; fix tests 2021-08-27 19:18:59 -04:00
spiral
ac2671452d run dotnet format 2021-08-27 11:03:47 -04:00
spiral
05989242f9 CI: run Docker build only on main repository 2021-08-26 12:05:27 -04:00
spiral
8e02bb294a CI: build/test separately 2021-08-26 12:03:19 -04:00
spiral
9e4f5d8e40 fix strings for group rename 2021-08-26 11:54:28 -04:00
spiral
4b944e2b20 feat: refactor external input handling code
- refactor import/export code
- make import/export use the same JSON parsing as API
- make Patch.AssertIsValid actually useful
2021-08-25 21:43:31 -04:00
spiral
f912805ecc feat: make group member add/remove response code less confusing; add tests 2021-08-25 19:51:33 -04:00
spiral
82544cf9ce tweak: don't expose hidden channel count in pk;permcheck 2021-08-25 15:58:55 -04:00
Alyx
c7fcf60fbf feat: add checking for Use External Emoji permissions in pk;permcheck 2021-08-25 15:04:08 -04:00
spiral
b46561cb0a refactor: move some commands out of Misc 2021-08-25 14:36:13 -04:00
spiral
603123777d add limits to switch members and proxy tag length 2021-08-25 13:42:08 -04:00
spiral
52efb3c70a fix: don't check for useless permission when deleting command messages
this allows for deleting command messages in DMs, where the bot does not have manage messages permissions
and just in general in channels where it doesn't have those permissions as well
2021-08-25 12:43:33 -04:00
spiral
87676c2045 fix: show correct command suggestion to edit server tag 2021-08-25 12:33:24 -04:00
spiral
0d583a2a6b fix: fetch guild settings for server tag in system card 2021-08-25 12:30:42 -04:00
Ske
83212b4bb2 Don't override maximum pool size from connection string 2021-08-24 11:22:41 +02:00
Ske
1aa4cbf3d8 Use docs-compliant user agent again 2021-08-23 22:55:21 +02:00