refactor(discord-bot): improve 'gemmes' command

This commit is contained in:
Pihkaal
2025-12-05 17:11:06 +01:00
parent e7c37ff324
commit 19cb5b445b
4 changed files with 62 additions and 52 deletions

View File

@@ -6,9 +6,12 @@ const schema = z.object({
DISCORD_MENTION: z.string(),
DISCORD_REWARDS_GIVER: z.string(),
DISCORD_REWARDS_CHANNEL: z.string(),
// TODO: remove and compose from staff role id
DISCORD_ADMIN_MENTION: z.string(),
// TODO: rename to reward ask channel or smth
DISCORD_ADMIN_CHANNEL: z.string(),
DISCORD_TRACKING_CHANNEL: z.string(),
DISCORD_STAFF_ROLE_ID: z.string(),
WOV_API_KEY: z.string(),
WOV_CLAN_ID: z.string(),
WOV_FETCH_INTERVAL: z.coerce.number(),