Initial commit. Split bot from myapi as separate application.

This commit is contained in:
eleksir
2020-09-05 16:10:26 +03:00
commit 2bf710aeb7
11 changed files with 758 additions and 0 deletions

15
data/sample_config.json Normal file
View File

@@ -0,0 +1,15 @@
{
"user" : "nobody",
"telegrambot" : {
"name" : "mybot",
"tname" : "@my_bot",
"csign" : "!",
"token" : "get_it_from_botfather",
"braindir": "data/telegrambot-brains"
},
"openweathermap" : {
"cachetime": "data/cache/openweathermap.Id-Timestamp.db",
"cachedata": "data/cache/openweathermap.Id-Data.db",
"appid": "get_it_on_openweathermap.org"
}
}