Update from official client (tokens)
This commit is contained in:
parent
b009ed7532
commit
3c34f55b43
10
bot.py
10
bot.py
@ -9,6 +9,11 @@ from os import system
|
|||||||
print("Поместите файл картинки в папку с этим файлом.")
|
print("Поместите файл картинки в папку с этим файлом.")
|
||||||
coordbyx = input("Введите координату по X (по умолчанию - 0)\n> ")
|
coordbyx = input("Введите координату по X (по умолчанию - 0)\n> ")
|
||||||
coordbyy = input("Введите координату по Y (по умолчанию - 0)\n> ")
|
coordbyy = input("Введите координату по Y (по умолчанию - 0)\n> ")
|
||||||
|
premtoken = input("Введите Premium-токен, если не хотите использовать токен просто нажмите Enter\n> ")
|
||||||
|
if premtoken!="":
|
||||||
|
tokenlimit = input("Введите лимит токена\n> ")
|
||||||
|
else:
|
||||||
|
token=False
|
||||||
if coordbyx=="":
|
if coordbyx=="":
|
||||||
coordbyx=0
|
coordbyx=0
|
||||||
if coordbyy=="":
|
if coordbyy=="":
|
||||||
@ -88,4 +93,7 @@ except:
|
|||||||
system('pause')
|
system('pause')
|
||||||
system('exit')
|
system('exit')
|
||||||
from remove_back import *
|
from remove_back import *
|
||||||
draw(optimize(image, [255,255,255]) ) # Remove white background and draw
|
if token==False:
|
||||||
|
draw(optimize(image, [255,255,255]) ) # Remove white background and draw
|
||||||
|
else:
|
||||||
|
draw(image, limit=tokenlimit, token=premtoken )
|
Loading…
Reference in New Issue
Block a user