wjclub / telegram-bot-groupagree

An advanced poll bot for Telegram
https://t.me/groupagreebot
GNU Affero General Public License v3.0
47 stars 24 forks source link

Save configs in a configuration file #6

Open Bergiu opened 5 years ago

Bergiu commented 5 years ago

Save configs in a file that is read on execution and not during compile time (config.json or config.toml) so that the keys aren't in the compiled binary. That has the purpose, that someone can make for example a docker image or release there binaries to others.

One of these files is: https://github.com/wjclub/telegram-bot-groupagree/blob/master/telegram-bot-groupagree/Globals.cs.template

jfowl commented 5 years ago

thanks for your comment on this, this clearly was a mistake.

to solve this, and other issues, a new python version is going to be created. have a look at the wjclub profile for that