import this
help(this)
>>> from this import hi # hello, intro
Short introduction of yourself is better than "hello".
>>> from this import gist # source
Link to gist is better than source paste.
>>> from this import spam # long_better
One long message is better than many short.
>>> from this import edit # correct
Editing the message is better than correcting via another one.
>>> from this import topic # offtopic
Staying on topic is better than offtopic.
Good topic is worth discussing though.
Unless it is started by a link to Habrahabr.
>>> from this import ask
Don't ask to ask just ask.
import __hello__
Команда разрешена только для модератора
/google query
/g query
Команда разрешена только для модератора
/wiki query
/w query
Match peps in messages and send links for them.
Показывает чаты и ссылки
/chats
/links
BOT_TOKEN # telegram bot token
BOT_LOGGING_LEVEL # logging level
MODERATORS # moderators identifiers splited by space
DEBUG # bot autoreload on file save
Condo — reliable and simple idempotent supervisor for Docker containers.
{
:spec {
:Name "spb_python_bot"
:Image "nonamenix/spb_python_bot:latest"
:Env [
"BOT_TOKEN=339614247:************************************"
"MODERATORS=132982472 59323058"
"HEALTHCHECKIO_TOKEN=********-****-****-****-************"
"BOT_LOGGING_LEVEL=ERROR"
"MONGO_URL=mongodb://spbpythonbot:[email protected]:46677/spb_python_bot"
"MONGO_HEALTHCHECKIO_TOKEN=fb6c17b8-a64a-41bf-83c7-267ee5124368"
]
:HostConfig {
:RestartPolicy {:Name "always"}
:NetworkMode "petprojects_default"
}
}
:health-timeout 45
}