OP 04 April, 2021 - 06:04 PM
Recently i've decided to make a discord spam bot, dm all friends. But i've got stucled at this point, i don't know how to make it loop and login into the next token.
What can i do to make it login into the another token and repeat the process?
Code:
import discord
client = discord.Client()
@client.event
async def on_connect():
for user in client.user.friends:
print("+1 Friend")
with open ("tokens.txt") as tkns:
for line in tkns:
client.run(line, bot=False)
What can i do to make it login into the another token and repeat the process?