From b7b3ec9f28aa1703b55637b74a532107c0bd8c57 Mon Sep 17 00:00:00 2001 From: Shobhit singh Date: Mon, 4 Feb 2019 19:08:51 +0530 Subject: [PATCH 1/3] Added coc command --- ilugd.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ilugd.py b/ilugd.py index b9800a8..bbd9782 100644 --- a/ilugd.py +++ b/ilugd.py @@ -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) From a078a0b4049b84957e2c474a32ba713f57b14293 Mon Sep 17 00:00:00 2001 From: Shobhit singh Date: Mon, 4 Feb 2019 19:32:15 +0530 Subject: [PATCH 2/3] Added coc ini --- bot.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.ini b/bot.ini index 925c034..90d06f0 100644 --- a/bot.ini +++ b/bot.ini @@ -5,4 +5,5 @@ mailinglist=http://frodo.hserus.net/mailman/listinfo/ilugd facebook=https://www.facebook.com/ILUGD/ twitter=https://twitter.com/ilugdelhi meetuplink=https://www.meetup.com/ILUGDelhi/ -github=https://github.com/ILUGD +github=https://github.com/ILUG +coc=https://github.com/ILUGD/Suggestions/issues/2 From 4cf26675a10db24c74980c35076f3a21ff347324 Mon Sep 17 00:00:00 2001 From: Shobhit singh Date: Wed, 6 Feb 2019 02:15:51 +0530 Subject: [PATCH 3/3] corrected the github link --- bot.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.ini b/bot.ini index 90d06f0..1e9c076 100644 --- a/bot.ini +++ b/bot.ini @@ -5,5 +5,5 @@ mailinglist=http://frodo.hserus.net/mailman/listinfo/ilugd facebook=https://www.facebook.com/ILUGD/ twitter=https://twitter.com/ilugdelhi meetuplink=https://www.meetup.com/ILUGDelhi/ -github=https://github.com/ILUG +github=https://github.com/ILUGD coc=https://github.com/ILUGD/Suggestions/issues/2