Skip to content

Commit 08764b0

Browse files
author
lorossi
committed
fixed getter
1 parent 290d30c commit 08764b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

corgos-telegram-bot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ def _botCorgoCommand(self, update, context):
311311
# prompted to try again.
312312
# The image gets then remove from the queue
313313

314+
self._corgos_sent += 1
314315
message = "_Press /corgo for another corgo!_"
315316
context.bot.send_message(chat_id=chat_id, text=message,
316317
parse_mode=ParseMode.MARKDOWN)
@@ -361,6 +362,7 @@ def _botCheckCommand(self, update, context):
361362

362363
if chat_id in self.admins:
363364
url = self._golden_corgo_url
365+
364366
# we want to get the "small" image in order to make this
365367
# whole process slightly faster. imgur provides different
366368
# image sizes by editing its url a bit

0 commit comments

Comments
 (0)