Using message.author to full extent in discord

Hello,

I have little coding experience or knowledge but I’m working on it. I followed tutorial to create a discord bot using repl.it and it seems easy enough.

if message.content.startswith('$hello'):
    await message.channel.send('Hello!')

works as expected. bot sends a message with “Hello!”

I’m trying to make it so that the bot will respond with “Hello! message.author” I feel like this should be fairly simple but I just can’t seem to figure it out. Any suggestions?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.