From 057d21e5310e3af47261d02e6c9d4e96ec97c523 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Tue, 13 Jan 2026 16:44:20 -0500 Subject: [PATCH] Add HYTALE_ROLE_ID and use it for /hytale command --- bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 5fb53f4..4333c29 100644 --- a/bot.py +++ b/bot.py @@ -36,6 +36,7 @@ AUDIT_CHANNEL_ID = int(os.getenv('AUDIT_CHANNEL_ID', '1340861451392520233')) ANNOUNCEMENT_CHANNEL_ID = int(os.getenv('ANNOUNCEMENT_CHANNEL_ID', '605864889940050088')) ADMIN_ROLE_ID = int(os.getenv('ADMIN_ROLE_ID', '605867042104541194')) MINECRAFT_ROLE_ID = int(os.getenv('MINECRAFT_ROLE_ID', '821163520942145556')) +HYTALE_ROLE_ID = int(os.getenv('HYTALE_ROLE_ID', '1460750779848589548')) COOL_KIDS_ROLE_ID = int(os.getenv('COOL_KIDS_ROLE_ID', '788968178117902347')) OWNER_ID = int(os.getenv('OWNER_ID', '238728085342519296')) REACTION_MESSAGE_ID = int(os.getenv('REACTION_MESSAGE_ID', '744047519696420914')) @@ -590,7 +591,7 @@ async def minecraft(interaction: discord.Interaction, minecraft_username: str): @client.tree.command(name="hytale", description="Request whitelist on the Hytale server") @app_commands.describe(hytale_username="Your Hytale username") -@has_role_check(MINECRAFT_ROLE_ID) +@has_role_check(HYTALE_ROLE_ID) async def hytale(interaction: discord.Interaction, hytale_username: str): """Request whitelist on the Hytale server""" try: