Upgrading clean code

This commit is contained in:
Rafael Vargas
2022-07-10 14:27:40 -03:00
parent 7e9a6d45c0
commit c826af229c
7 changed files with 25 additions and 28 deletions

View File

@@ -1,5 +1,5 @@
from Config.Messages import Messages
from Exceptions.Exceptions import Error
from Exceptions.Exceptions import VulkanError
from discord import Embed
from Config.Configs import Configs
from Config.Colors import Colors
@@ -130,7 +130,7 @@ class Embeds:
)
return embed
def CUSTOM_ERROR(self, error: Error) -> Embed:
def CUSTOM_ERROR(self, error: VulkanError) -> Embed:
embed = Embed(
title=error.title,
description=error.message,