rahulkhatri137 / mirrorbot137

Lightweight but powerful Telegram Mirror bot
GNU General Public License v3.0
37 stars 172 forks source link

CONFIG FILE URL #29

Closed itsmo-ks closed 1 year ago

itsmo-ks commented 1 year ago

Ability to load config.env file by providing it , using gist github.com , it'll will be easy to just edit the gist file , then just restart the bot , because now I have to edit the file then build the image again to make changes on the config

rahulkhatri137 commented 1 year ago

You can use it already! I used gist & it's working normal

itsmo-ks commented 1 year ago

What's the variable name ? , cuz I've added this CONFIG_FILE_URL , and didn't work , it says , it can't retrieve config.env from the link .

rahulkhatri137 commented 1 year ago

What's the variable name ? , cuz I've added this CONFIG_FILE_URL , and didn't work , it says , it can't retrieve config.env from the link .

In logs it will show error but config will be loaded & bot will start. CONFIG_FILE_URL