Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

name 'collection_name' is not defined #1

Closed
Georgi724 opened this issue Oct 10, 2021 · 0 comments
Closed

name 'collection_name' is not defined #1

Georgi724 opened this issue Oct 10, 2021 · 0 comments

Comments

@Georgi724
Copy link

I get this traceback:

Ignoring exception in on_message
Traceback (most recent call last):
File "C:\Users\koynov\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "C:\USERS_KK\python\discord.py\ebay\paggy\levelsys.py", line 28, in on_message
stats = collection_name.find_one(
NameError: name 'collection_name' is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant