From 7cffbc93da5632a3f900e2078b67eddcbf7841a6 Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 22 Dec 2021 14:39:20 +0100 Subject: [PATCH] remove Token (oopsi) --- V4.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/V4.py b/V4.py index e36207b..c85f4c5 100644 --- a/V4.py +++ b/V4.py @@ -72,9 +72,11 @@ def FirefoxPC(Headless = Headless): if IsLinux : MotPath = "/home/pi/MsReward/liste.txt" LogPath= "/home/pi/MsReward/login.csv" + TokenPath = "/home/pi/token.txt" else : MotPath = resource_path('./liste/liste.txt') LogPath = resource_path('./login/login.csv') + TokenPath = resource_path('./token/token.txt') system("") @@ -82,7 +84,9 @@ else : g = open(MotPath, "r" , encoding="utf-8") Liste_de_mot=(list(g.readline().split(','))) g.close() - +g = open(TokenPath,"r") +Token = g.readline() +g.close def CustomSleep(temps): @@ -137,7 +141,7 @@ def LogError(message,log = False): await client.close() - client.run('ODMzMjc2MDU1ODk2NDU3MjI2.YHv-zQ.sxvpqrD9bz-ZQAb8lKhy_4hwUU8') + client.run(Token) def progressBar(current, total=30, barLength = 20, name ="Progress"): @@ -601,7 +605,7 @@ def LogPoint(account, log = False): #log des points sur discord await client.close() - client.run('ODMzMjc2MDU1ODk2NDU3MjI2.YHv-zQ.sxvpqrD9bz-ZQAb8lKhy_4hwUU8') + client.run(Token) def Fidelité():