Answers for "discord.py the command helo"

0

how to limit a command to a role in discord.py

@bot.command()
@commands.has_role('RoleName')
async def command_name():
Posted by: Guest on June-24-2020
0

unknown amount of arguments discord py

# Include a asterisk (*) before the variable name, eg:

async def repeatback(context, *words):
	# Function code
Posted by: Guest on December-30-2020

Python Answers by Framework

Browse Popular Code Answers by Language