Markussim / mini-bots

GNU General Public License v3.0
3 stars 0 forks source link

Move Discord Guild Id to Environment Variables #12

Closed linusromland closed 8 months ago

linusromland commented 8 months ago

Currently the Discord Guild Id is hardcoded in the code (see here). This should be changed to use a environment variables for enhanced flexibility. This should probably be moved to a .env file for development. This would also eliminate the need of the token.txt that is currently used for the discord bot token during development.

Worth mentioning also is that in production the Guild Id should also not be sent, this is only meant to be used during development.