Du musst command_prefix definieren
hier ein Code Beispiel
import discord
from discord.ext import commands
bot = commands.Bot(command_prefix="hier dein Prefix z.B !", help_command=None)
#statt listen event, Klammern brauchst du auch keine!!
@bot.event
async def on_ready():
print(f"We have logged in as {bot.User}")
@bot.event
async def on_message(message):
if message.author == bot.user:
return
if message.content == "help"
await message.channel.send("Hello! How can we help")
elif message.content == "Hello"
await message.channel.send("Hello!")
bot.run("Hier dein Token")