DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+5 =
Submit