Commit Graph

80 Commits

Author SHA1 Message Date
spiral
8df259a40d
feat: change member/group lookup order, add -id flag 2021-11-17 09:30:19 -05:00
spiral
343fafe9f0
feat: respect Discord permissions in pk;message and pk;edit 2021-11-10 23:46:16 -05: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
fa66fbe247
move admin check to ContextChecksExt, allow pk;debug proxy for staff in support server 2021-09-26 20:42:08 -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
a2bf70b395
feat: don't try to match other systems' members in switch / group add commands 2021-09-13 03:14:59 -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
ac2671452d
run dotnet format 2021-08-27 11:03:47 -04:00
spiral
b9f73cadb7
feat: proxy debug command
Co-authored-by: Spectralitree <72747870+Spectralitree@users.noreply.github.com>
2021-08-03 21:06:14 -04:00
spiral
e620e30c10
Fix channel checks missing GuildNews
The log channel / logclean checks are left as-is; hopefully nobody is
using an announcements channel for their logs?
2021-07-08 09:17:35 -04:00
Ske
41f1c58a9f Merge branch 'new-shard-handler' 2021-06-08 10:20:59 +02:00
Ske
118f2d49a6 WIP new shard implementation 2021-06-08 10:19:54 +02:00
Ske
dbde8c07ad Fix a few more compiler warnings
Signed-off-by: Ske <voltasalt@gmail.com>
2021-05-07 10:56:15 +02:00
Mikaela Szekely
6395872f2d allow pk;system proxy to take a server ID
So people can disable proxying in a server without outing themselves :)
2021-05-06 10:19:15 -06:00
Ske
3d624b39e4 Add message editing command
Signed-off-by: Ske <voltasalt@gmail.com>
2021-05-03 12:33:30 +02:00
Ske
ef614d07c3 Do the Big Rename 2021-01-31 16:16:52 +01:00
Ske
80c572f594 Fix various bugs and regressions 2021-01-31 16:02:34 +01:00
Ske
35433b0d82 Convert a few more things 2021-01-31 15:03:11 +01:00
Ske
da9d84a197 Get rid of more D#+ references 2021-01-15 11:29:43 +01:00
Ske
9079f1c59c Port the DM stuff 2020-12-25 13:58:45 +01:00
Ske
a2c8cbb560 Add DM support 2020-12-25 13:19:35 +01:00
Ske
47b16dc51b Port more things! 2020-12-24 14:52:44 +01:00
Ske
f6fb8204bb Add embed builder, some more ported classes 2020-12-23 02:19:02 +01:00
Ske
05334f0d25 Converted enough to send the system card 2020-12-22 16:55:13 +01:00
Ske
a6fbd869be Initial commit, basic proxying working 2020-12-22 13:15:26 +01:00
Astrid
6e39eb7a96
Merge pull request #258 from dev-kittens/feat/member-group
Group improvements
2020-12-08 12:19:56 +01:00
Ske
e1f68197e5 Fix MatchChannel for announcement channels 2020-12-04 02:12:09 +01:00
spiral
115017980e
Add pk;member group 2020-11-22 19:57:01 -05:00
spiral
71461b3163
Add looking up group by displayname; document this 2020-11-14 10:42:51 -05:00
Ske
c69bea86df Fix log channel clear confirm 2020-10-23 12:18:40 +02:00
Ske
81cd5496d5 Refactor command message deletion 2020-10-23 12:18:28 +02:00
Astrid
17c3640fd3
Merge branch 'main' into confirm-clear 2020-10-23 11:14:36 +02:00
dev-kittens
05cc30279a
- Add storing bot response messages in postgres
- Add scheduled task to clean up said store
2020-10-18 00:18:52 -05:00
dev-kittens
dfacbc51ab Confirm before clearing (most) entity properties 2020-10-04 08:53:07 +00:00
Ske
c7612df37e Major database refactor (again) 2020-08-29 13:46:27 +02:00
Ske
9e251352c7 Various fixes and improvements 2020-08-16 12:10:54 +02:00
Ske
6c5cb8cea7 Add group name/description/list commands 2020-07-28 19:17:00 +02:00
Ske
253ae43c7f Add super basic group model/command 2020-07-28 19:17:00 +02:00
kittens
467d058565
Remove "remove" keyword from MatchClear (#199) 2020-07-22 16:26:43 +02:00
Ske
8d01b580e2 Refactor system/member avatar code 2020-07-07 23:41:51 +02:00
Ske
299f6b2edf Extract member list argument parsing to utility method 2020-07-07 19:51:19 +02:00
Ske
c87e67245d Create GetXXX utils wrapping try blocks 2020-07-02 18:29:04 +02:00
Ske
7fef8c1dde Split up Context class into more extension methods 2020-07-01 18:27:26 +02:00
Ske
53036da6a5 Move checks in Context to extension methods 2020-07-01 18:18:38 +02:00
Fiona
5ba0dd0273 allow for matching by member display name 2020-06-22 21:06:25 +10:00
Ske
378c49cb20 Remove 60+ (whew) SanitizeMentions() calls 2020-06-20 17:36:03 +02:00
Ske
2c35649ef0 Use AllowedMentions to disable mentions everywhere by default 2020-06-20 17:33:10 +02:00
Ske
56eae82b0a Move most references to PKMember.Name to go through helper extepsions for privacy 2020-06-18 17:08:36 +02:00