This commit is contained in:
piair 2022-04-30 11:25:16 +02:00
parent 0102de498e
commit c6b1f4c04a

4
V4.py
View File

@ -118,7 +118,7 @@ def printf(txt, end="", Mobdriver=driver):
def CustomSleep(temps): def CustomSleep(temps):
if Log or not IsLinux: if Log or not IsLinux: #only print sleep when user see it
c = False c = False
points = [ points = [
" . ", " . ",
@ -172,14 +172,12 @@ def LogError(message, log=FullLog, Mobdriver=None):
embed = discord.Embed( embed = discord.Embed(
title="An Error has occured", title="An Error has occured",
description=str(message), description=str(message),
url=ListTabs(Mdriver=Mobdriver)[0],
colour=Colour.red(), colour=Colour.red(),
) )
else: else:
embed = discord.Embed( embed = discord.Embed(
title="Full log is enabled", title="Full log is enabled",
description=str(message), description=str(message),
url=ListTabs(Mdriver=Mobdriver)[0],
colour=Colour.blue(), colour=Colour.blue(),
) )