mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 01:12:33 -05:00
Port TiV changes applied to voice channels to stage channels (#6109)
This commit is contained in:
@@ -357,7 +357,10 @@ class Admin(commands.Cog):
|
||||
|
||||
@announceset.command(name="channel")
|
||||
async def announceset_channel(
|
||||
self, ctx, *, channel: Union[discord.TextChannel, discord.VoiceChannel]
|
||||
self,
|
||||
ctx,
|
||||
*,
|
||||
channel: Union[discord.TextChannel, discord.VoiceChannel, discord.StageChannel],
|
||||
):
|
||||
"""Change the channel where the bot will send announcements."""
|
||||
await self.config.guild(ctx.guild).announce_channel.set(channel.id)
|
||||
|
||||
Reference in New Issue
Block a user