Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

channel unhiding command in discord.py

#unhide channel
@bot.command(help=" Use this command to unhide a channel")
@commands.has_permissions(manage_channels=True)
async def unhide(ctx):
    await ctx.channel.set_permissions(ctx.guild.default_role,view_channel=True)
    await ctx.send('**<:vf:947194381172084767>This channel is visible to everyone**')
    await ctx.channel.purge(limit=2)
Source by github.com #
 
PREVIOUS NEXT
Tagged: #channel #unhiding #command
ADD COMMENT
Topic
Name
3+1 =