can not run the bot
Opened this issue · 4 comments
run the update.bat file to fix the import errors, however the cogs must derive from Cog
issue I can't seem to fix.
I have the same issue with cogs must derive from Cog
. Even checked the docs but I dont really understand how to fix it. https://stackoverflow.com/questions/55231877/discord-py-rewrite-typeerror-cogs-must-derive-from-cog
This is something I found I tried to implement the fix but doesnt work. I just get a new Error that the Class is missing an Attribute "startwith". Ive tried to just setup my own extension using different methods but nothing works. I also tried just putting my method in bot.py because I only need one command lol, but that didnt work neither.
Edit: I only need a repeat function so the bot will repeat x times after me. already have it implemented for a bot need to convert to selfbot
@bot.command() async def repeat(ctx, times: int, content='Hello World!'): if (times<51): for i in range(times): await ctx.send(content) await ctx.send("finished")
I have the same issue. I have tried running 'update.bat', but it didn't fix it.