diff options
author | diSabler <dissy@ya.ru> | 2017-03-17 21:04:42 +0300 |
---|---|---|
committer | diSabler <dissy@ya.ru> | 2017-03-17 21:04:42 +0300 |
commit | a89086fa8d4bb722d5212121d30bccc8d3a7cb5d (patch) | |
tree | 1364dcde3b7f45dbe227a2ded453b9f8bcb741f6 | |
parent | 60f336ed1cf3ecf17fa67a4f07aa2e47ed954d6a (diff) |
fix: help and start commands
-rw-r--r-- | plugins/help.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/plugins/help.py b/plugins/help.py index 7957827..70ffaf1 100644 --- a/plugins/help.py +++ b/plugins/help.py @@ -28,10 +28,12 @@ def cmd_help(raw_in, text): IS_OWNER = raw_in['message']['from'].get('id', '') == OWNER_ID
text = text.lower().strip()
if not text:
- msg = ['🤖 iSida telegram bot', 'http://isida.dsy.name',
+ msg = ['🤖 iSida telegram bot',
'(c) 2oo9-%s Disabler Production Lab.' % str(time.localtime()[0]).replace('0', 'o'),
'🔸 Commands help: /help command | *',
- '🔸 Available commands list: /commands']
+ '🔸 Available commands list: /commands',
+ '🔸 Dev-chat @isida_bot_dev',
+ '🔸 Site: http://isida.dsy.name']
msg = '\n'.join(msg)
send_msg(raw_in, msg, custom = {'disable_web_page_preview': True})
else:
@@ -66,7 +68,10 @@ def cmd_commands(raw_in): send_msg(raw_in, msg)
def cmd_start(raw_in):
- msg = 'Hi! I\'m iSida, telegram bot. Ex jabber bot. Use /help for begin.'
+ msg = ['🤖 Hi! I\'m iSida, telegram bot. Ex jabber bot.',
+ 'Use /help for begin.',
+ 'Join dev-chat @isida_bot_dev']
+ msg = '\n'.join(msg)
send_msg(raw_in, msg)
commands = [['help', cmd_help, False, 'all', 'Bot\'s help.'],
|