Answer the question
In order to leave comments, you need to log in
How to implement the use of several tokens at the same time (VK IO)?
How to implement the use of multiple tokens at the same time in longpoll? (i.e. running multiple bots at the same time)
Answer the question
In order to leave comments, you need to log in
from threading import Thread
def bot(token):
# *авторизация и тп*
Thread(target=bot, args=('токен')).start()
Thread(target=bot, args=('токен2')).start()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question