mirror of https://github.com/stijndcl/didier
Fix typing
parent
f049f1c80b
commit
6cfe788df5
|
@ -8,7 +8,7 @@ __all__ = ["create_logging_embed"]
|
||||||
def create_logging_embed(level: int, message: str) -> discord.Embed:
|
def create_logging_embed(level: int, message: str) -> discord.Embed:
|
||||||
"""Create an embed to send to the logging channel"""
|
"""Create an embed to send to the logging channel"""
|
||||||
colours = {
|
colours = {
|
||||||
logging.DEBUG: discord.Colour.light_gray(),
|
logging.DEBUG: discord.Colour.light_gray,
|
||||||
logging.ERROR: discord.Colour.red(),
|
logging.ERROR: discord.Colour.red(),
|
||||||
logging.INFO: discord.Colour.blue(),
|
logging.INFO: discord.Colour.blue(),
|
||||||
logging.WARNING: discord.Colour.yellow(),
|
logging.WARNING: discord.Colour.yellow(),
|
||||||
|
|
Loading…
Reference in New Issue