A
A
ArtemiyVersh2021-08-09 23:01:01
Python
ArtemiyVersh, 2021-08-09 23:01:01

(discord.py) Ignoring exception in command None: discord.ext.commands.errors.CommandNotFound: Command "brbr" is not found, what's wrong?

Here is my code

import discord
from discord.ext import commands

client = commands.Bot(command_prefix="/")
@client.event

async def on_ready():
  print("Bot connected")
#***
@client.command()
async def brbr(ctx):
  await ctx.author.send("Hello, world")
client.run('token')

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
x4zx, 2021-08-10
@x4zx

After checking your code on my bot, I can say that everything works perfectly for me. You just need to enter the command correctly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question