Answers for "discord python bot require one of two roles for command"

1

discord python bot require one of two roles for command

@bot.command()
@commands.has_any_role('Library Devs', 'Moderators', 492212595072434186)
async def cool(ctx):
    await ctx.send('You are cool indeed')
Posted by: Guest on September-22-2021

Code answers related to "discord python bot require one of two roles for command"

Python Answers by Framework

Browse Popular Code Answers by Language