Commit graph

151 commits

Author SHA1 Message Date
seth
8376c45c2d
feat: flesh out storage object 2023-12-07 22:18:59 -05:00
seth
78c8aa7a18 refactor: create ModAction struct 2023-12-08 01:35:41 +00:00
TheKodeToad
20e2dbbe46
refactor moderation; change prefix to r 2023-12-06 17:00:38 +00:00
TheKodeToad
174d93544c
fix: do not 2023-12-05 14:49:18 +00:00
TheKodeToad
55ccfe4341
fix: use camelCase for MinecraftPackageJson 2023-12-05 14:36:18 +00:00
seth
f955cbb933
feat: reintroduce PK support
Signed-off-by: seth <getchoo@tuta.io>
2023-12-04 20:02:46 -05:00
TheKodeToad
95fe62051b
chore: remove tag aliases
with tag names *and* aliases both being options, we reach the limit for
the discord API

Signed-off-by: seth <getchoo@tuta.io>
2023-12-04 18:19:08 -05:00
TheKodeToad
640690d9bf
refactor: use unwrap_or_default() for kick/ban reason
Signed-off-by: seth <getchoo@tuta.io>
2023-12-04 18:14:10 -05:00
seth
8bad9d9636
feat: add descriptions to commands & arguments
Signed-off-by: seth <getchoo@tuta.io>
2023-12-04 09:33:35 -05:00
seth
6e33299af7
feat: reintroduce ping command
Signed-off-by: seth <getchoo@tuta.io>
2023-12-04 09:26:08 -05:00
seth
5b16c14b45
feat: set presence info on ready again
Signed-off-by: seth <getchoo@tuta.io>
2023-12-04 09:22:13 -05:00
seth
1c168bd8ba
fix: use regex for eta again
Signed-off-by: seth <getchoo@tuta.io>
2023-12-04 09:22:13 -05:00
seth
640409f2e2
feat: reintroduce message link embeds
Signed-off-by: seth <getchoo@tuta.io>
2023-12-04 09:22:12 -05:00
seth
604a81fb44
feat: reintroduce support onboarding
Signed-off-by: seth <getchoo@tuta.io>
2023-12-04 09:22:02 -05:00
seth
368b5e0cb0
feat: delete messages on again
Signed-off-by: seth <getchoo@tuta.io>
2023-12-04 06:05:06 -05:00
seth
30cc4a6220
feat: reintroduce tag command
Signed-off-by: seth <getchoo@tuta.io>
2023-12-04 05:11:54 -05:00
seth
a8eb4a212a
chore: deprecate modrinth command
Signed-off-by: seth <getchoo@tuta.io>
2023-12-03 18:51:59 -05:00
TheKodeToad
358df91509 feat: reintroduce eta
Signed-off-by: seth <getchoo@tuta.io>
2023-12-03 18:49:52 -05:00
seth
45403e9d9b
initial rewrite in rust & moderation commands
Signed-off-by: seth <getchoo@tuta.io>
2023-12-03 18:29:04 -05:00
Sefa Eyeoglu
1c7e263f4f
fix: increase PK delay
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-11-17 18:58:39 +01:00
Sefa Eyeoglu
889ef8820a
refactor: move handleWebhookMessage into callback
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-11-17 17:35:01 +01:00
Sefa Eyeoglu
e6337cf6bd
feat: store pluralkit users in redis
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-11-16 23:06:32 +01:00
TheKodeToad
f340137996
Check for message proxied through PluralKit
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-11-15 11:12:06 +00:00
Jocelyn Castellano
c97abce90b
feat: add a new ETA message (#175)
Yes Minister reference
https://moksheungming.tripod.com/yes.html

Signed-off-by: PandaNinjas <admin@malwarefight.wip.la>
2023-09-03 20:20:05 +08:00
Sefa Eyeoglu
f799703959
chore: update support thread message
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-08-22 19:53:50 +02:00
Ryan Cao
0759108d35
fix: linting error 2023-06-10 16:54:07 +08:00
Ryan Cao
97f13e02e4
feat: add auto support messages 2023-06-10 16:53:45 +08:00
Ryan Cao
cb16991417
chore: switch to pnpm and remove DISCORD_APP 2023-06-10 16:53:42 +08:00
TheKodeToad
2e4e81d7a2 Oops :pofat: 2023-06-04 12:45:33 +01:00
Sefa Eyeoglu
cd8f8e4f9b
fix: check if there are any embeds
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-05-31 07:43:11 +02:00
Sefa Eyeoglu
752a83f159
fix: only reply if there are any embeds
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-05-30 19:51:28 +02:00
Ryan Cao
e1f8443eba
fix: check for empty strings
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2023-05-24 17:17:15 +08:00
Ryan Cao
b11b564e2d
feat: add logging for say command (closes #166) 2023-05-24 11:25:06 +08:00
Ryan Cao
8117ed29ec
chore: move to PermissionFlagsBits 2023-05-24 11:21:54 +08:00
Ryan Cao
a4d326bb26
chore: remove stale button handler 2023-05-24 11:20:09 +08:00
Ryan Cao
ff664c5f04
chore: remove unused constant 2023-05-24 11:19:32 +08:00
Ryan Cao
cf0348953b
chore: migrate to newer intents 2023-05-24 11:19:32 +08:00
Sefa Eyeoglu
30b5293477
fix: only send expanded message link if present
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-05-20 11:50:22 +02:00
Ryan Cao
71715213de
feat(expandMessage): combine embeds and use reactions for deleting 2023-05-14 18:06:27 +08:00
Ryan Cao
e451c1df4c
fix(expandMessage): check for webhookId correctly 2023-05-14 18:06:27 +08:00
Ryan Cao
8e279ae5cf
refactor(tags): pull embed options to top level and adopt embed images 2023-05-14 18:06:25 +08:00
PandaNinjas
e5b85e454d
fix: don't expand message links for bots (#164)
Signed-off-by: PandaNinjas <admin@malwarefight.wip.la>
2023-05-13 13:27:30 +08:00
IThundxr
569a08c95d
add delete button for message link embeds (#117)
Signed-off-by: IThundxr <contact@ithundxr.dev>
2023-03-10 09:33:14 +08:00
PandaNinjas
38a136d742
Allow dots too
Signed-off-by: PandaNinjas <admin@malwarefight.gq>
2023-02-24 02:18:19 +00:00
PandaNinjas
ade5b4b9b5
Restrict the ability to make Refraction say things idk
Signed-off-by: PandaNinjas <admin@malwarefight.gq>
2023-02-24 02:15:21 +00:00
Sefa Eyeoglu
21390fed8a
chore: prettier
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-02-17 00:34:11 +01:00
Sefa Eyeoglu
66a63a12e2
fix: actually check for guildid
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-02-16 22:41:25 +01:00
Sefa Eyeoglu
2d41ce361a
fix: restrict to three message previews
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-02-16 22:30:02 +01:00
Sefa Eyeoglu
6f1823bfd4
feat: use reply instead
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-02-16 22:25:46 +01:00
Sefa Eyeoglu
2b99eb0579
refactor: use matchAll instead of while loop
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-02-16 22:23:18 +01:00