Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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

@client.command()
async def hello(ctx):
    await ctx.send(f"hello, {ctx.author.name}")
 
PREVIOUS NEXT
Tagged: #bot #user #discord #python
ADD COMMENT
Topic
Name
8+6 =