Answer the question
In order to leave comments, you need to log in
How to run multiple discord bots at the same time?
Let's say I have a tokens.txt file that stores bot tokens in the format:
токен
токен
...
client.run(token1)
client.run(token2)
Answer the question
In order to leave comments, you need to log in
Create multiple client instances:
import discord
client1 = discord.Client()
client2 = discord.Client()
...
...
client1.run(token1)
client2.run(token2)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question