import discord
from discord.ext import commands
import asyncio
client = commands.Bot(command_prefix="-")
@client.event
async def on_message(message):
if message.content.startswith("uno regeln"):
await message.channel.send('http://www.uno-kartenspiel.de/spielregeln/')
@client.command()
async def test(ctx):
await ctx.send("Ok")
client.run("TOKEN")
When I try to run this and use -test nothing happens But why? I looked in the docs but in my opinion everything is fine