From 41cb7cbd4444015f473a1b85d654701044613566 Mon Sep 17 00:00:00 2001 From: Hornochs Date: Thu, 23 Jan 2025 15:25:29 +0100 Subject: [PATCH] Fixing main.py for wrong style --- discordgsm/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discordgsm/main.py b/discordgsm/main.py index 2bda4f3..4a443a6 100644 --- a/discordgsm/main.py +++ b/discordgsm/main.py @@ -215,7 +215,7 @@ async def send_alert(server: Server, alert: Alert): content = None if not content else content username = 'Game Server Monitor Alert' avatar_url = 'https://avatars.githubusercontent.com/u/61296017' - + async with aiohttp.ClientSession() as session: webhook = Webhook.from_url(webhook_url, session=session) await webhook.send(content, username=username, avatar_url=avatar_url, embed=alert_embed(server, alert)) @@ -265,7 +265,7 @@ def query_server_modal(game: GamedigGame, locale: Locale): modal.add_item(query_extra['voice_port']) elif game['id'] == 'tmnf': query_extra['username'] = TextInput(label='Username', placeholder='Query Username', default="User") - query_extra['password'] = TextInput(label='Password', placeholder='Query Password', default="User", style=TextStyle.short) + query_extra['password'] = TextInput(label='Password', placeholder='Query Password', default="User") modal.add_item(query_extra['username']) modal.add_item(query_extra['password'])