Installing the dependencies: python3 -m pip install poetry poetry install Create a .env file in the root directory and add the following: TOKEN=YOUR_BOT_TOKEN Run the bot: (Run exit to exit the shell.) poetry shell python main.py