From 2009c9d31061a7bd584bcb90f45e388c13acd840 Mon Sep 17 00:00:00 2001 From: insert Date: Tue, 14 May 2024 17:13:29 -0400 Subject: [PATCH] Fix typo --- applicationbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applicationbot.py b/applicationbot.py index bc85149..801aea1 100644 --- a/applicationbot.py +++ b/applicationbot.py @@ -105,7 +105,7 @@ async def whitelist( ) async def execute(inter: disnake.AppCmdInter, command:str): await inter.response.defer() - if int(os.getenv("ADMIN_ROLE_ID") not in user.roles: + if int(os.getenv("ADMIN_ROLE_ID")) not in user.roles: await inter.edit_original_response(content="Only the server admins may run this command") return with Client(os.getenv("RCON_IP"), int(os.getenv("RCON_PORT")), passwd=os.getenv("RCON_PASSWORD")) as client: