From 3c70073f9d2674bd4995acdb24ce6218d712b015 Mon Sep 17 00:00:00 2001 From: Amogh Date: Sun, 5 Nov 2023 02:56:22 -0600 Subject: [PATCH] fix: fixed alliance modals --- src/utils/discord_utils.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/utils/discord_utils.py b/src/utils/discord_utils.py index 5d5dd25..c8f157f 100644 --- a/src/utils/discord_utils.py +++ b/src/utils/discord_utils.py @@ -480,12 +480,13 @@ async def callback(self, interaction: discord.Interaction): embed.set_footer(text="Please provide:\nGuild Logo\nGuild Advertisement Message") fields.extend( [["What is the IGN of your guild master?", "", discord.InputTextStyle.short, "Guild Master"], - ["What is your guild's preferred gamemode?", "You needn't have one", + ["What is your guild's preferred gamemode?", "If you don't have one, just say 'None'", discord.InputTextStyle.short, "Guild's Preferred Gamemodes"], - [f"Why should we ally?", "", discord.InputTextStyle.long, - "Why we should consider allying"]]) + [f"Why should we ally with you guys?", "", discord.InputTextStyle.long, + f"Benefits of allying with {guild['name']}"]]) await interaction.response.send_modal( - modal=uiutils.ModalCreator(embed=embed, fields=fields, ign=ign, title="Alliance Request")) + modal=uiutils.ModalCreator(embed=embed, fields=fields, ign=ign, uuid=uuid, + title="Alliance Request")) return if option == "Other": await ticket.edit(name=f"other-{ign}", topic=f"{interaction.user.id}|",