Akimoto Ryou

@AkimotoRyou (0)
Discord.py - Rewrite Tutorial using commands extension
posted to Learn by TheDrone7

@TheDrone7 I've tried to fork it to my repl.it to get exact code, but it throws this error :

Ignoring exception in on_ready
Traceback (most recent call last):
  File "/home/runner/.site-packages/discord/client.py", line 227, in _run_event
    await coro(*args, **kwargs)
  File "main.py", line 36, in on_ready
    bot.load_extension(cog)
  File "/home/runner/.site-packages/discord/ext/commands/bot.py", line 618, in load_extension
    lib.setup(self)
  File "/home/runner/cogs/basic.py", line 74, in setup
    bot.add_cog(Basic(bot))
  File "/home/runner/.site-packages/discord/ext/commands/bot.py", line 543, in add_cog
    raise TypeError('cogs must derive from Cog')
TypeError: cogs must derive from Cog
Discord.py - Rewrite Tutorial using commands extension
posted to Learn by TheDrone7

It gives me this error
TypeError: cogs must derive from Cog