Answers for "discord bot python userinfo command"

1

how to make a bot say hello <username> when a user says hello in discord with python

@client.command()
async def hello(ctx):
    await ctx.send(f"hello, {ctx.author.name}")
Posted by: Guest on February-25-2021
0

python discord mention user

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

Code answers related to "discord bot python userinfo command"

Python Answers by Framework

Browse Popular Code Answers by Language