Right now I'm trying to ask my bot to check when I, AND ONLY I write a messageS it says words. But I don't know how to make discordpy see if i messaged or not, I assume I have to use message.author.id() method. Please help. :3
#MODULES
import discord
from discord.ext import commands
from discord.utils import get
#THE CODE
bot = commands.Bot(command_prefix = '.')
@bot.event
async def on_message(message):
if message.author == bot.user:
return
if message.author.id('MY ACTUAL USER ID'):
await bot.say('words')
bot.run('MY BOT TOKEN')