Skip to content

🤯 Development Tips

Irene Adler❤ edited this page Oct 6, 2024 · 1 revision

Testing

I structured code in a bit awkward way where you can run the bot with separate tokens (i.e. production/test) with a simple cli flag. So if you want to run the Test version of the bot you should run the bot with py __main__.py --test (or just -t).

Caution

You need to make _test.py file and fill out extensions you want to test for the test bot to work. You can get one by copy-renaming _test.example.py into _test.py. Read helpful comments in that file too.