Added Union back

This commit is contained in:
unknown 2023-03-12 18:29:16 +01:00
parent c74d7aa855
commit a0024215f9

View File

@ -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)