not tested enough apparently
This commit is contained in:
parent
8c224793b0
commit
9549a6dea3
2
V6.py
2
V6.py
|
@ -680,7 +680,7 @@ def json_start(json_entry, cred: UserCredentials):
|
||||||
login()
|
login()
|
||||||
try:
|
try:
|
||||||
if str(account_id) in json_entry["tout"]:
|
if str(account_id) in json_entry["tout"]:
|
||||||
daily_routine(cred)
|
daily_routine(cred, True)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -30,7 +30,7 @@ class DiscordLogger:
|
||||||
)
|
)
|
||||||
file = File("screenshot.png")
|
file = File("screenshot.png")
|
||||||
embed.set_image(url="attachment://screenshot.png")
|
embed.set_image(url="attachment://screenshot.png")
|
||||||
embed.set_footer(text=self.config.UserCredentials.creds.get_mail())
|
embed.set_footer(text=self.config.UserCredentials.get_mail())
|
||||||
|
|
||||||
self.config.discord.wh.send(embed=embed, username="error", file=file, avatar_url=self.config.discord.avatar_url)
|
self.config.discord.wh.send(embed=embed, username="error", file=file, avatar_url=self.config.discord.avatar_url)
|
||||||
self.config.discord.wh.send(username="error", file=File("page.html"), avatar_url=self.config.discord.avatar_url)
|
self.config.discord.wh.send(username="error", file=File("page.html"), avatar_url=self.config.discord.avatar_url)
|
||||||
|
|
Loading…
Reference in New Issue