Update 'dogetipbot_telegram.py'
This commit is contained in:
parent
cc0b11f3e7
commit
df4062f9e6
@ -13,6 +13,7 @@ import io
|
||||
import requests
|
||||
import json
|
||||
import argparse
|
||||
import asyncio
|
||||
|
||||
# Parsing arguments
|
||||
|
||||
@ -300,7 +301,8 @@ def users(update: Update, context: CallbackContext):
|
||||
# Telegram initialisation
|
||||
|
||||
myBot = Bot(TELEGRAM_API_KEY)
|
||||
updater = Updater(myBot)
|
||||
queue = asyncio.Queue()
|
||||
updater = Updater(myBot, queue)
|
||||
|
||||
dispatcher = updater.dispatcher
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user