diff --git a/src/cogs/tickets.py b/src/cogs/tickets.py index 1a0102b0..7db61483 100644 --- a/src/cogs/tickets.py +++ b/src/cogs/tickets.py @@ -30,7 +30,6 @@ async def register(self, ctx, name: str): if isinstance(res, discord.Embed): await ctx.respond(embed=res) if guest_ticket: - print(guest_ticket) await ctx.followup.send(f"Head on over to <#{guest_ticket.id}>!", ephemeral=True) if isinstance(res, String): await ctx.respond(res) diff --git a/src/func/Union.py b/src/func/Union.py index d9b21e75..786791cb 100644 --- a/src/func/Union.py +++ b/src/func/Union.py @@ -157,7 +157,7 @@ async def sync(self, ctx, name: str, tag: str = None, is_fs=False): async def register(self, ctx, name): # Make sure it is only used in registration channel if ctx.channel.id != registration_channel_id: - return "This command can only be used in the registration channel!" + return "This command can only be used in the registration channel!", None ign, uuid = await get_mojang_profile(name) @@ -264,7 +264,7 @@ async def callback(self, interaction: discord.Interaction): await ctx.author.remove_roles(bot.new_member_role, reason="Register") await ctx.author.edit(nick=ign) - return (embed, guest_ticket) if guild_name != guild_handle else (None, None) + return embed, guest_ticket if guild_name != guild_handle else None, None async def add(self, ctx): if ctx.channel.category.name not in ticket_categories.values():