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.
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 thetoken.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.