From 9d6e8c62757e0da976de6a6f500de56afaa58a12 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 12 Mar 2023 17:00:59 +0100 Subject: [PATCH] Removed Union type from reportset_output --- recruitmentCog/recruitment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recruitmentCog/recruitment.py b/recruitmentCog/recruitment.py index fa216cc..fe4cfae 100644 --- a/recruitmentCog/recruitment.py +++ b/recruitmentCog/recruitment.py @@ -63,7 +63,7 @@ class Recruitment(commands.Cog): @checks.admin_or_permissions(manage_guild=True) @applicationset.command(name="output") async def reportset_output( - self, ctx: commands.Context, channel: Union[discord.TextChannel, discord.VoiceChannel] + self, ctx: commands.Context, channel: discord.TextChannel ): """Set the channel where applications will be sent.""" await self.config.guild(ctx.guild).output_channel.set(channel.id)