I
I
Igor Gafarchik2020-05-09 18:34:30
Python
Igor Gafarchik, 2020-05-09 18:34:30

Discord.py using two run?

In general, there are two bots that perform different functions (the first one is responsible for the roles of the second team), how can they be combined? When using two run, only one is executed. Is there an alternative to run or how to use two at the same time?
I am new to this business and I understand that the question is stupid, but I did not find the answer anywhere (
Thanks in advance)

client=MyClient()
bot.run(config.TOKEN)
client.run(config.TOKEN)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Gafarchik, 2020-05-09
@Gafarchik

Everyone has already found asyncio

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question