Removed Union type from reportset_output
This commit is contained in:
parent
5980ac4b13
commit
9d6e8c6275
@ -63,7 +63,7 @@ class Recruitment(commands.Cog):
|
|||||||
@checks.admin_or_permissions(manage_guild=True)
|
@checks.admin_or_permissions(manage_guild=True)
|
||||||
@applicationset.command(name="output")
|
@applicationset.command(name="output")
|
||||||
async def reportset_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."""
|
"""Set the channel where applications will be sent."""
|
||||||
await self.config.guild(ctx.guild).output_channel.set(channel.id)
|
await self.config.guild(ctx.guild).output_channel.set(channel.id)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user