Я пытаюсь сделать простую вещь, например команду с discord.py, но она не выдает ничего похожего на ошибку в терминале или в Discord.
Вот код:
import discord
from discord.ext import commands
class BotLibertarin(discord.Client):
client = commands.Bot(command_prefix=".")
@client.command()
async def teste(ctx,*,arg):
await ctx.channel.send(arg)
@client.event
async def on_message(self, message):
print(f"message from {message.author} what he said {message.content}")
client = BotLibertarin()
client.run("")