mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-28 13:42:23 -05:00
Port TiV changes applied to voice channels to stage channels (#6109)
This commit is contained in:
@@ -107,7 +107,9 @@ class Reports(commands.Cog):
|
||||
@commands.admin_or_permissions(manage_guild=True)
|
||||
@reportset.command(name="output")
|
||||
async def reportset_output(
|
||||
self, ctx: commands.Context, channel: Union[discord.TextChannel, discord.VoiceChannel]
|
||||
self,
|
||||
ctx: commands.Context,
|
||||
channel: Union[discord.TextChannel, discord.VoiceChannel, discord.StageChannel],
|
||||
):
|
||||
"""Set the channel where reports will be sent."""
|
||||
await self.config.guild(ctx.guild).output_channel.set(channel.id)
|
||||
|
||||
Reference in New Issue
Block a user