“discord.py mencione o usuário” Respostas de código

como obter o nome de usuário com o userID discord.py

username = client.get_user(user_id)
Swetsen

discord.py mencione o usuário

#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)
_creare_

Python Discord Menção Usuário

await message.channel.send(message.author.mention)
Delightful Dragonfly

como mencionar alguém discord.py

myid = '<@201909896357216256>'
await client.send_message(message.channel, ' : %s is the best ' % myid)
Healthy Horse

Respostas semelhantes a “discord.py mencione o usuário”

Perguntas semelhantes a “discord.py mencione o usuário”

Mais respostas relacionadas para “discord.py mencione o usuário” em Python

Procure respostas de código populares por idioma

Procurar outros idiomas de código