Skip to content

Commit

Permalink
Merge pull request ILUGD#5 from ajax711/master
Browse files Browse the repository at this point in the history
added coc command
  • Loading branch information
xeon-zolt authored Sep 16, 2019
2 parents a5e322f + 4cf2667 commit 8be644d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions bot.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ facebook=https://www.facebook.com/ILUGD/
twitter=https://twitter.com/ilugdelhi
meetuplink=https://www.meetup.com/ILUGDelhi/
github=https://github.com/ILUGD
coc=https://github.com/ILUGD/Suggestions/issues/2
6 changes: 6 additions & 0 deletions ilugd.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ def github(bot,update):
bot.sendChatAction(chat_id=update.message.chat_id,
action=ChatAction.TYPING)
bot.sendMessage(chat_id=update.message.chat_id, text=config['BOT']['github'])

def coc(bot,update):
bot.sendChatAction(chat_id=update.message.chat_id,
action=ChatAction.TYPING)
bot.sendMessage(chat_id=update.message.chat_id, text=config['BOT']['coc'])


def help(bot, update):
bot.sendChatAction(chat_id=update.message.chat_id, action=ChatAction.TYPING)
Expand Down

0 comments on commit 8be644d

Please sign in to comment.