DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to limit a command to a role in discord.py
@bot.command() @commands.has_role('RoleName') async def command_name():
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#limit
#command
#role
ADD COMMENT
Topic
COMMENT
Name
3+2 =
Submit