Skip to content
Permalink
Browse files

Little changes

  • Loading branch information...
YogurtTheHorse committed Nov 25, 2016
1 parent 252d80c commit 1e0a7bd57e878036baaf37ec00cb83901a99d2f6
Showing with 5 additions and 5 deletions.
  1. +5 −5 main.py
10 main.py
@@ -22,8 +22,8 @@
logger = logging.getLogger('rg')

question_filename = 'question.int'
question_yes = 0
question_no = 0
question_yes = 388
question_no = 78
asked = [ ]
queue = deque([])

@@ -314,7 +314,7 @@ def rep(txt, btns=None, photo=None):
global msg, image, buttons

if len(msg) + len(txt) + 2 >= 4096:
reply(c_id, bot, msg, buttons, image)
_reply(c_id, bot, msg, buttons, image)

msg = ''
image = None
@@ -334,8 +334,8 @@ def rep(txt, btns=None, photo=None):
if len(msg) > 0 or image:
global updater

reply(c_id, bot, msg, buttons, image)

_reply(c_id, bot, msg, buttons, image)
@run_async
def leaderboard(bot, update):
c_id = update.message.chat_id

0 comments on commit 1e0a7bd

Please sign in to comment.
You can’t perform that action at this time.