Commit Graph

487 Commits

Author SHA1 Message Date
spiral
cc4e659cec
feat: import/export system config 2021-11-30 17:04:42 -05:00
spiral
9097142718
fix: wrong command help in Config 2021-11-30 15:40:00 -05:00
spiral
56d07e0f2d
feat: pk;config 2021-11-29 21:35:21 -05:00
spiral
99a9ec7928
feat: beta bot patches 2021-11-27 11:09:08 -05:00
spiral
979ab714c3
refactor: move ContextExts to own folder, CommandTree / command defs to CommandMeta folder 2021-11-26 22:04:04 -05:00
spiral
4450ae4214
feat: go through some TODOs 2021-11-26 22:02:58 -05:00
spiral
1918c56937
feat: upgrade to .NET 6, refactor everything 2021-11-26 21:10:56 -05:00
spiral
b8e2ebd470
Merge branch 'feat/webhooks' into main 2021-11-25 17:15:42 -05:00
spiral
ece17f7470
feat(webhooks): verify that url is accessible before saving it 2021-11-25 16:45:00 -05:00
spiral
bc7e0df872
feat(webhooks): SUCCESSFUL_IMPORT event, better behaviour when creating entities 2021-11-25 15:33:02 -05:00
spiral
269646a455
fix(webhook): don't try escaping backslashes in a raw string 2021-11-22 17:05:13 -05:00
spiral
7a5ba8246e
refactor: cache own user ID in IDiscordCache
- remove Cluster.User
- remove Cluster.Application (it was only being used as an alternative to Cluster.User for some reason)
- move Bot.PermissionsIn to DiscordCacheExtensions
2021-11-21 19:42:35 -05:00
spiral
99b81085ed
fix: fix 'members' string in group limit warning 2021-11-21 09:05:16 -05:00
spiral
9c95ca2ed9
fix: temporarily disable last message query in member_list 2021-11-21 09:03:47 -05:00
spiral
40dbf7dad6
fix(webhooks): don't allow Discord webhook URLs 2021-11-19 15:54:39 -05:00
spiral
75c35b7f85
fix(webhooks): CheckSystem before trying to set a webhook URL 2021-11-19 15:53:48 -05:00
spiral
e8beb245da
fix(webhooks): fix error when DNS entry has non-ipv4 addresses 2021-11-19 10:58:12 -05:00
spiral
0ca356eec3
feat: add support for attachment descriptions 2021-11-19 09:34:52 -05:00
spiral
0efaab6d95
refactor: don't use 'out' in IDiscordCache methods
this change is required for async cache (.NET doesn't support async ref/out params)
2021-11-18 13:11:02 -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
8df259a40d
feat: change member/group lookup order, add -id flag 2021-11-17 09:30:19 -05:00
spiral
19628ec400
feat: add showing avatar URL in short list 2021-11-14 11:10:19 -05:00
spiral
343fafe9f0
feat: respect Discord permissions in pk;message and pk;edit 2021-11-10 23:46:16 -05:00
spiral
24a549341e
feat: don't call GetCurrentProcess twice 2021-11-09 01:51:02 -05:00
spiral
6da1bbd267
feat: sort by display name in short list 2021-11-08 10:49:50 -05:00
spiral
a81ffc3399
feat(webhooks): add basic commands 2021-11-03 02:01:35 -04:00
spiral
c1f05eecf8
feat: rename Commands/Token to Commands/Api 2021-11-03 01:36:03 -04:00
spiral
f78d4844e2
feat: add 'full' argument to pk;s frontpercent command 2021-11-01 02:35:29 -04:00
spiral
8d02af7b94
refactor: move GroupAddRemoveResponseService into GroupMemberUtils
(it's not a service)
2021-10-31 01:11:10 -04:00
spiral
1f2043c8ac
fix: 'pk;member commands' is too long and throws an error 2021-10-30 20:45:36 -04:00
spiral
3e2441cf3a
feat: add 'pk;s <id> avatar' command 2021-10-30 19:02:21 -04:00
spiral
d9da50c189
feat: throw exception 2021-10-30 18:49:36 -04:00
Spectralitree
e0c43a9af7
feat: add "today" argument to pk;m birthday (#398) 2021-10-29 17:44:51 -04:00
Katrix
b998636cbe
feat: add -raw flag to pk;msg (#399) 2021-10-29 16:42:10 -04:00
spiral
be5bf0cfb7
feat: misc pk;log channel changes
- show currently set log channel if no arguments are present
- throw error if someone tries to set the log channel to an invalid channel type
- throw error if bot is missing permissions to log in the new channel
2021-10-29 13:28:27 -04:00
spiral
3bc451eb4b
feat: move scheduled tasks to separate project 2021-10-15 06:27:38 -04:00
spiral
655d0d6c44
fix: add missing await 2021-10-06 19:49:11 -04:00
spiral
92c1b4de56
feat: add reaction checkmark on command message delete in DMs 2021-10-06 19:46:49 -04:00
spiral
ecce906c99
fix: add missing await 2021-10-05 03:17:51 -04:00
spiral
a546ebc888
fix: check correct length for fronthistory embed 2021-10-03 04:34:26 -04:00
spiral
92e45a07ff
refactor: add SqlKata for SQL generation, move connection handling into ModelRepository 2021-09-29 21:51:38 -04:00
spiral
fb4aaad19f
lint 2021-09-26 22:50:08 -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
BeautifulPixel
7d60b3e7cf
Add switch editing functionality 2021-09-26 20:08:38 -04:00
spiral
e3fa0f3b32
fix(MatchRaw commands): don't skip matching flags when setting new value 2021-09-26 17:30:30 -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
bc2c198a82
group import/export 2021-09-21 21:42:41 -04:00
spiral
07b12f39b0
aaaaaaa 2021-09-13 08:42:51 -04:00