У меня проблема с ботом разногласий. Команда не работает. Я думаю, что код не проблема. Все отлично работает, кроме команды. На раздоре, если я использую! Test mytexthere , ничего не произойдет.
Заранее спасибо!
import discord
from discord.ext.commands import Bot
from discord.ext import commands
import asyncio
import time
import random
from PIL import Image
token=('MyToken')
client = discord.Client()
bot = commands.Bot(command_prefix='!')
@client.event
async def on_ready():
print('We have logged in as {0.user}'.format(client))
@bot.command()
async def test(ctx, arg):
await ctx.send(arg)
client.run(token)