Botanism / Botanist

A bot for a healthier experience on discord servers. Provides lots of moderation utilities and improved sharing features!

Home Page:https://discord.gg/mpGM5cg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Token leaks

s0lst1ce opened this issue · comments

Describe the bug
During development it is easy to forget to remove the TOKEN value in settings.py. This is a big security issue.
This is also unpractical since it is required to access the host to append the TOKEN for the bot to run.

Expected behavior
Changing settings.py should not require one to remove the token before committing.

Additional context
This could be easily fixed by using environment variables.

Fixed with 88fc74d