Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to mention a role discord.py

#To mention a role you need the role ID
#Exaple
#you can use ~bot~ or ~client~ it dont matter
@bot.command
async def exaple_test(ctx):
	await ctx.send(f"Role: <@&_your_role_id_here_)>")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mention #role
ADD COMMENT
Topic
Name
7+7 =