I'm just trying out with making Discord bots and I tried putting this command in a category, however, this error shows up no matter what I call the command. Here's my code:
import discord,random
from discord.ext import commands
bot = commands.Bot(command_prefix=';')
@bot.event
async def on_ready():
print("bot is ready for stuff")
await bot.change_presence(activity=discord.Game(name=";help"))
class general_stuff(commands.Cog):
"""Stuff that's not important to the bot per say"""
@bot.command()
async def lkibashfjiabfiapbfaipb(self, message):
await message.send("test received.")
bot.add_cog(general_stuff())
bot.run("TOKEN")
and this is the error I get back:
The command lkibashfjiabfiapbfaipb is already an existing command or alias.
No matter how much I change the command, it keeps giving the same error.