Answers for "mention user discord.py"

2

discord.py mention user

#discord.py rewrite
#python 3+
bot.command(name='pingme', help='pings the author of the message')
async def pingme(ctx):
	#to get a member from a 'ctx' object is ctx.author
	#from there its .mention will mention (ping) the user
	#also there are others like .id
	await ctx.send(ctx.author.mention)
Posted by: Guest on January-19-2021
0

python discord mention user

await message.channel.send(message.author.mention)
Posted by: Guest on July-24-2020
0

how to mention someone discord.py

myid = '<@201909896357216256>'
await client.send_message(message.channel, ' : %s is the best ' % myid)
Posted by: Guest on August-04-2020
0

discord.py how get user input

playerChoice = await bot.wait_for('message', check=check(context.author), timeout=30)
Posted by: Guest on July-29-2020

Code answers related to "mention user discord.py"

Python Answers by Framework

Browse Popular Code Answers by Language