Removed Union type from reportset_output

This commit is contained in:
unknown 2023-03-12 17:00:59 +01:00
parent 5980ac4b13
commit 9d6e8c6275

View File

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