Skip to content

AttributeError: module 'pymongo' has no attribute 'collection' #108

Description

@DimesUp

Describe the bug
When starting botHandler.py, an attributeerror occurs.

To Reproduce
Steps to reproduce the behavior:

  1. Make your own fork of main
  2. Create a Github codespace on main
  3. Complete beforehand steps like installing requirements.txt and setup.py (however to solve another bug you must change aiohttp's version from 3.8.6 to 3.11.10)
  4. Run the botHandler with the command "python3 botHandler.py"
  5. AttributeError: module 'pymongo' has no attribute 'collection'. Did you mean: 'collation'?

Expected behavior
I expected the bot to start, and I could enter discord and use the server scout.

Screenshots
Desktop Screenshot 2024 12 14 - 13 17 38 73

Desktop (please complete the following information):

  • OS: Github codespace

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions