Skip to content

Place a run of the bot in the __name__ == __main__ condition #25

Description

@roli2py

Some tools can run the main.py file to, for example, inspect dependencies or get the version variable. Therefore, the tools are running the bot at the same time. Placing the run in the __name__ == __main__ condition will fix it.

Metadata

Metadata

Assignees

Labels

invalidThis doesn't seem right

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions