Giter VIP home page Giter VIP logo

spotty's People

Contributors

butterncream avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

spotty's Issues

Bot won't launch

Hello,
When I try to start the bot, I get the following output:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 580, in _load_from_module_spec
    setup(self)
  File "/home/czechball/Spotty/cogs/commands/owner.py", line 58, in setup
    bot.add_cog(Owner(bot))
  File "/usr/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 480, in add_cog
    raise TypeError('cogs must derive from Cog')
TypeError: cogs must derive from Cog

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "bot.py", line 140, in load_extensions
    bot.load_extension(extension)
  File "/usr/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 625, in load_extension
    self._load_from_module_spec(lib, name)
  File "/usr/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 584, in _load_from_module_spec
    raise errors.ExtensionFailed(key, e) from e
discord.ext.commands.errors.ExtensionFailed: Extension 'cogs.commands.owner' raised an error: TypeError: cogs must derive from Cog
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 580, in _load_from_module_spec
    setup(self)
  File "/home/czechball/Spotty/cogs/commands/admin.py", line 110, in setup
    bot.add_cog(Admin(bot))
  File "/usr/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 480, in add_cog
    raise TypeError('cogs must derive from Cog')
TypeError: cogs must derive from Cog

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "bot.py", line 140, in load_extensions
    bot.load_extension(extension)
  File "/usr/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 625, in load_extension
    self._load_from_module_spec(lib, name)
  File "/usr/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 584, in _load_from_module_spec
    raise errors.ExtensionFailed(key, e) from e
discord.ext.commands.errors.ExtensionFailed: Extension 'cogs.commands.admin' raised an error: TypeError: cogs must derive from Cog
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 580, in _load_from_module_spec
    setup(self)
  File "/home/czechball/Spotty/cogs/commands/everyone.py", line 85, in setup
    bot.add_cog(Everyone(bot))
  File "/usr/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 480, in add_cog
    raise TypeError('cogs must derive from Cog')
TypeError: cogs must derive from Cog

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "bot.py", line 140, in load_extensions
    bot.load_extension(extension)
  File "/usr/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 625, in load_extension
    self._load_from_module_spec(lib, name)
  File "/usr/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 584, in _load_from_module_spec
    raise errors.ExtensionFailed(key, e) from e
discord.ext.commands.errors.ExtensionFailed: Extension 'cogs.commands.everyone' raised an error: TypeError: cogs must derive from Cog
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 580, in _load_from_module_spec
    setup(self)
  File "/home/czechball/Spotty/cogs/overrides.py", line 22, in setup
    bot.add_cog(Overrides(bot))
  File "/usr/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 480, in add_cog
    raise TypeError('cogs must derive from Cog')
TypeError: cogs must derive from Cog

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "bot.py", line 140, in load_extensions
    bot.load_extension(extension)
  File "/usr/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 625, in load_extension
    self._load_from_module_spec(lib, name)
  File "/usr/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 584, in _load_from_module_spec
    raise errors.ExtensionFailed(key, e) from e
discord.ext.commands.errors.ExtensionFailed: Extension 'cogs.overrides' raised an error: TypeError: cogs must derive from Cog
^C^CTraceback (most recent call last):
  File "bot.py", line 149, in <module>
    bot.run(spotty_token)
  File "/usr/lib/python3.8/site-packages/discord/client.py", line 595, in run
    _cleanup_loop(loop)
  File "/usr/lib/python3.8/site-packages/discord/client.py", line 92, in _cleanup_loop
    _cancel_tasks(loop)
  File "/usr/lib/python3.8/site-packages/discord/client.py", line 77, in _cancel_tasks
    loop.run_until_complete(asyncio.gather(*tasks, loop=loop, return_exceptions=True))
  File "/usr/lib/python3.8/asyncio/base_events.py", line 614, in run_until_complete
    raise RuntimeError('Event loop stopped before Future completed.')
RuntimeError: Event loop stopped before Future completed.

My system: Python 3.8.6, Arch Linux 5.7.10-arch1-1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.