discord py mention user code example
Example 1: discord.py mention user
bot.command(name='pingme', help='pings the author of the message')
async def pingme(ctx):
await ctx.send(ctx.author.mention)
Example 2: how to mention someone discord.py
myid = '<@201909896357216256>'
await client.send_message(message.channel, ' : %s is the best ' % myid)
Example 3: python discord mention user
await message.channel.send(message.author.mention)
Example 4: discord.py how get user input
playerChoice = await bot.wait_for('message', check=check(context.author), timeout=30)