From a0024215f914203176ac09aab490453465e2adbb Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 12 Mar 2023 18:29:16 +0100 Subject: [PATCH] Added Union back --- recruitmentCog/recruitment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recruitmentCog/recruitment.py b/recruitmentCog/recruitment.py index 341fb27..e95c2b6 100644 --- a/recruitmentCog/recruitment.py +++ b/recruitmentCog/recruitment.py @@ -69,7 +69,7 @@ class Recruitment(commands.Cog): @checks.admin_or_permissions(manage_guild=True) @applicationset.command(name="output") async def applicationset_output( - self, ctx: commands.Context, channel: discord.TextChannel + self, ctx: commands.Context, channel: Union[discord.TextChannel, discord.VoiceChannel] ): """Set the channel where applications will be sent.""" await self.config.guild(ctx.guild).output_channel.set(channel.id)