mik3sw / GoogleAssistantBot

Simple and Open source Telegram bot, for group managing (and fun)
https://t.me/pythonandroidbot
Apache License 2.0
8 stars 3 forks source link

Best way to implement a settings file? (editable while running) #11

Closed mik3sw closed 2 years ago

mik3sw commented 3 years ago

Settings command

I'm trying to implement the /settings command, but i can't find a way to actually save the settings... any suggestion?

BluLupo commented 3 years ago

I recommend using a database, this is an example of /settings https://github.com/Squirrel-Network/nebula8/blob/master/core/commands/admin/settings.py