Clone and change directory into the Modmail folder with:
Inside the Modmail folder, install pipenv and its Python packages with:
Create a file named .env with nano and paste all the environmental variables (secrets) needed to run the bot via right-clicking in the nano editor. Refer to the steps in the parent Installation page to find where to obtain these.
After that, exit the nano editor with Ctrl+X and select or enter y when prompted to save. Press enter to maintain the exiting name of the document.
If using the nano editor is a bit of a learning curve, you can edit the .env file manually with your preferred GUI-based editor like TextEdit.
After your .env file is ready, you can now go ahead and try running your bot with:
If no error shows up, it means your bot is now running correctly. You can stop the bot from running with Ctrl+C to continue using your terminal.