How can I fix NameError in __init__?
I was trying to make my first discord bot. I got this error: NameError: name 'exceptions' is not defined. It was in __init__. I guess that something is wrong with names. Here's how my __init__ looks like: from .client import * from .exceptions import * from .protocol import * from .server import * from .uri import * from .version import version as __version__ # noqa __all__ = ( client.__all__ + exceptions.__all__ + protocol.__all__ + server.__all__ + uri.__all__ ) If I need to add something else, tell me in comments.
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.