From d6441acc565c044d1111adb81e17ad25d1c3aef5 Mon Sep 17 00:00:00 2001 From: Amogh Date: Sun, 22 Oct 2023 18:31:51 -0500 Subject: [PATCH] fix: fixed interaction expiring while registration if the user is a guest --- src/func/Union.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/func/Union.py b/src/func/Union.py index 2595c72e..95676b60 100644 --- a/src/func/Union.py +++ b/src/func/Union.py @@ -191,6 +191,7 @@ async def register(self, ctx, name): # User is in an allied guild elif guild_name in allies: + await ctx.defer() await ctx.author.add_roles(bot.guest, bot.ally, reason="Registration - Ally") # Add guild tag as nick @@ -200,6 +201,7 @@ async def register(self, ctx, name): # User is a guest else: + await ctx.defer() await ctx.author.add_roles(bot.processing, reason="Registration - Processing") ticket = await create_ticket(ctx.author, f"ticket-{ign}", category_name=ticket_categories["registrees"])