Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

multiple channel creating command in discord.py

#channel create
@bot.command(aliases=['chm'])
@commands.has_permissions(manage_channels=True)
async def chmake(ctx, *names):
    for name in names:
        await ctx.guild.create_text_channel(name)
        await ctx.send(f'**<:vf:947194381172084767>`{name}` has been created**')
        await sleep(1)
Source by github.com #
 
PREVIOUS NEXT
Tagged: #multiple #channel #creating #command
ADD COMMENT
Topic
Name
5+5 =