forked from piair/MsRewards-Reborn
typo
This commit is contained in:
parent
19606e5f4c
commit
1c7d1dfcd6
@ -1,8 +1,7 @@
|
||||
from discord import Embed, Colour, File
|
||||
|
||||
from modules.Classes.Config import Config
|
||||
from modules.Classes.UserCredentials import UserCredentials
|
||||
from modules.Tools.logger import info, warning, error, critical
|
||||
from modules.Tools.logger import error
|
||||
from modules.Tools.tools import format_error
|
||||
|
||||
|
||||
@ -25,7 +24,7 @@ class DiscordLogger:
|
||||
img.save("screenshot.png")
|
||||
|
||||
embed = Embed(
|
||||
title="An Error has occured",
|
||||
title="An Error has occurred",
|
||||
description=str(message),
|
||||
colour=Colour.red(),
|
||||
)
|
||||
@ -35,4 +34,3 @@ class DiscordLogger:
|
||||
|
||||
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user