diff --git a/utilities.py b/utilities.py index 35bcff3..b6aec3a 100644 --- a/utilities.py +++ b/utilities.py @@ -190,89 +190,89 @@ class utilities: __stats__ = loads( """{ "EVENTS": { - "ADR": "http://acrn.gwes-eas.network/Icons/index.php?img=chat&hex=", - "AVA": "http://acrn.gwes-eas.network/Icons/index.php?img=avalanche&hex=", - "AVW": "http://acrn.gwes-eas.network/Icons/index.php?img=avalanche&hex=", - "BHW": "http://acrn.gwes-eas.network/Icons/index.php?img=biohazard&hex=", - "BLU": "http://acrn.gwes-eas.network/Icons/index.php?img=policeman&hex=", - "BWW": "http://acrn.gwes-eas.network/Icons/index.php?img=water-heating&hex=", - "BZW": "http://acrn.gwes-eas.network/Icons/index.php?img=snow&hex=", - "CAE": "http://acrn.gwes-eas.network/Icons/index.php?img=child-with-pacifier&hex=", - "CDW": "http://acrn.gwes-eas.network/Icons/index.php?img=break&hex=", - "CEM": "http://acrn.gwes-eas.network/Icons/index.php?img=break&hex=", - "CFA": "http://acrn.gwes-eas.network/Icons/index.php?img=beach&hex=", - "CFW": "http://acrn.gwes-eas.network/Icons/index.php?img=beach&hex=", - "CHW": "http://acrn.gwes-eas.network/Icons/index.php?img=biohazard&hex=", - "CWW": "http://acrn.gwes-eas.network/Icons/index.php?img=biohazard&hex=", - "DBA": "http://acrn.gwes-eas.network/Icons/index.php?img=dam&hex=", - "DBW": "http://acrn.gwes-eas.network/Icons/index.php?img=dam&hex=", - "DEW": "http://acrn.gwes-eas.network/Icons/index.php?img=biohazard&hex=", - "DMO": "http://acrn.gwes-eas.network/Icons/index.php?img=test-tube&hex=", - "DSW": "http://acrn.gwes-eas.network/Icons/index.php?img=wind&hex=", - "EAN": "http://acrn.gwes-eas.network/Icons/index.php?img=mushroom-cloud&hex=", - "EAT": "http://acrn.gwes-eas.network/Icons/index.php?img=mushroom-cloud&hex=", - "EQW": "http://acrn.gwes-eas.network/Icons/index.php?img=earthquakes&hex=", - "EVA": "http://acrn.gwes-eas.network/Icons/index.php?img=escape&hex=", - "EVI": "http://acrn.gwes-eas.network/Icons/index.php?img=escape&hex=", - "EWW": "http://acrn.gwes-eas.network/Icons/index.php?img=wind&hex=", - "FCW": "http://acrn.gwes-eas.network/Icons/index.php?img=biohazard&hex=", - "FFS": "http://acrn.gwes-eas.network/Icons/index.php?img=floods&hex=", - "FFA": "http://acrn.gwes-eas.network/Icons/index.php?img=floods&hex=", - "FFW": "http://acrn.gwes-eas.network/Icons/index.php?img=floods&hex=", - "FLS": "http://acrn.gwes-eas.network/Icons/index.php?img=sea-waves&hex=", - "FLA": "http://acrn.gwes-eas.network/Icons/index.php?img=sea-waves&hex=", - "FLW": "http://acrn.gwes-eas.network/Icons/index.php?img=sea-waves&hex=", - "FRW": "http://acrn.gwes-eas.network/Icons/index.php?img=fire&hex=", - "FSW": "http://acrn.gwes-eas.network/Icons/index.php?img=snowflake&hex=", - "FZW": "http://acrn.gwes-eas.network/Icons/index.php?img=snowflake&hex=", - "HMW": "http://acrn.gwes-eas.network/Icons/index.php?img=biohazard&hex=", - "HUS": "http://acrn.gwes-eas.network/Icons/index.php?img=hurricane&hex=", - "HUA": "http://acrn.gwes-eas.network/Icons/index.php?img=hurricane&hex=", - "HUW": "http://acrn.gwes-eas.network/Icons/index.php?img=hurricane&hex=", - "HWA": "http://acrn.gwes-eas.network/Icons/index.php?img=wind&hex=", - "HWW": "http://acrn.gwes-eas.network/Icons/index.php?img=wind&hex=", - "IBW": "http://acrn.gwes-eas.network/Icons/index.php?img=snowflake&hex=", - "IFW": "http://acrn.gwes-eas.network/Icons/index.php?img=fire&hex=", - "LAE": "http://acrn.gwes-eas.network/Icons/index.php?img=break&hex=", - "LEW": "http://acrn.gwes-eas.network/Icons/index.php?img=policeman&hex=", - "LSW": "http://acrn.gwes-eas.network/Icons/index.php?img=avalanche&hex=", - "NAT": "http://acrn.gwes-eas.network/Icons/index.php?img=speaker&hex=", - "NIC": "http://acrn.gwes-eas.network/Icons/index.php?img=chat&hex=", - "NMN": "http://acrn.gwes-eas.network/Icons/index.php?img=chat&hex=", - "NPT": "http://acrn.gwes-eas.network/Icons/index.php?img=test-tube&hex=", - "NST": "http://acrn.gwes-eas.network/Icons/index.php?img=quiet&hex=", - "NUW": "http://acrn.gwes-eas.network/Icons/index.php?img=radio-active&hex=", - "POS": "http://acrn.gwes-eas.network/Icons/index.php?img=electrical&hex=", - "RHW": "http://acrn.gwes-eas.network/Icons/index.php?img=radio-active&hex=", - "RMT": "http://acrn.gwes-eas.network/Icons/index.php?img=important-month&hex=", - "RWT": "http://acrn.gwes-eas.network/Icons/index.php?img=important-week&hex=", - "SCS": "http://acrn.gwes-eas.network/Icons/index.php?img=school&hex=", - "SMW": "http://acrn.gwes-eas.network/Icons/index.php?img=beach&hex=", - "SPS": "http://acrn.gwes-eas.network/Icons/index.php?img=rain&hex=", - "SPW": "http://acrn.gwes-eas.network/Icons/index.php?img=cottage&hex=", - "SQW": "http://acrn.gwes-eas.network/Icons/index.php?img=snow&hex=", - "SSA": "http://acrn.gwes-eas.network/Icons/index.php?img=beach&hex=", - "SSW": "http://acrn.gwes-eas.network/Icons/index.php?img=beach&hex=", - "SVA": "http://acrn.gwes-eas.network/Icons/index.php?img=cloudshot&hex=", - "SVR": "http://acrn.gwes-eas.network/Icons/index.php?img=cloudshot&hex=", - "SVS": "http://acrn.gwes-eas.network/Icons/index.php?img=rain&hex=", - "TOA": "http://acrn.gwes-eas.network/Icons/index.php?img=tornado&hex=", - "TOR": "http://acrn.gwes-eas.network/Icons/index.php?img=tornado&hex=", - "TOE": "http://acrn.gwes-eas.network/Icons/index.php?img=call&hex=", - "TRA": "http://acrn.gwes-eas.network/Icons/index.php?img=beach&hex=", - "TRW": "http://acrn.gwes-eas.network/Icons/index.php?img=beach&hex=", - "TSA": "http://acrn.gwes-eas.network/Icons/index.php?img=tsunami&hex=", - "TSW": "http://acrn.gwes-eas.network/Icons/index.php?img=tsunami&hex=", - "TXB": "http://acrn.gwes-eas.network/Icons/index.php?img=internet-antenna&hex=", - "TXF": "http://acrn.gwes-eas.network/Icons/index.php?img=internet-antenna&hex=", - "TXO": "http://acrn.gwes-eas.network/Icons/index.php?img=internet-antenna&hex=", - "TXP": "http://acrn.gwes-eas.network/Icons/index.php?img=internet-antenna&hex=", - "VOA": "http://acrn.gwes-eas.network/Icons/index.php?img=volcano&hex=", - "VOW": "http://acrn.gwes-eas.network/Icons/index.php?img=volcano&hex=", - "WFA": "http://acrn.gwes-eas.network/Icons/index.php?img=fire&hex=", - "WFW": "http://acrn.gwes-eas.network/Icons/index.php?img=fire&hex=", - "WSA": "http://acrn.gwes-eas.network/Icons/index.php?img=snow&hex=", - "WSW": "http://acrn.gwes-eas.network/Icons/index.php?img=snow&hex=" + "ADR": "https://cdn.missingtextures.net/Icons/index.php?img=chat&hex=", + "AVA": "https://cdn.missingtextures.net/Icons/index.php?img=avalanche&hex=", + "AVW": "https://cdn.missingtextures.net/Icons/index.php?img=avalanche&hex=", + "BHW": "https://cdn.missingtextures.net/Icons/index.php?img=biohazard&hex=", + "BLU": "https://cdn.missingtextures.net/Icons/index.php?img=policeman&hex=", + "BWW": "https://cdn.missingtextures.net/Icons/index.php?img=water-heating&hex=", + "BZW": "https://cdn.missingtextures.net/Icons/index.php?img=snow&hex=", + "CAE": "https://cdn.missingtextures.net/Icons/index.php?img=child-with-pacifier&hex=", + "CDW": "https://cdn.missingtextures.net/Icons/index.php?img=break&hex=", + "CEM": "https://cdn.missingtextures.net/Icons/index.php?img=break&hex=", + "CFA": "https://cdn.missingtextures.net/Icons/index.php?img=beach&hex=", + "CFW": "https://cdn.missingtextures.net/Icons/index.php?img=beach&hex=", + "CHW": "https://cdn.missingtextures.net/Icons/index.php?img=biohazard&hex=", + "CWW": "https://cdn.missingtextures.net/Icons/index.php?img=biohazard&hex=", + "DBA": "https://cdn.missingtextures.net/Icons/index.php?img=dam&hex=", + "DBW": "https://cdn.missingtextures.net/Icons/index.php?img=dam&hex=", + "DEW": "https://cdn.missingtextures.net/Icons/index.php?img=biohazard&hex=", + "DMO": "https://cdn.missingtextures.net/Icons/index.php?img=test-tube&hex=", + "DSW": "https://cdn.missingtextures.net/Icons/index.php?img=wind&hex=", + "EAN": "https://cdn.missingtextures.net/Icons/index.php?img=mushroom-cloud&hex=", + "EAT": "https://cdn.missingtextures.net/Icons/index.php?img=mushroom-cloud&hex=", + "EQW": "https://cdn.missingtextures.net/Icons/index.php?img=earthquakes&hex=", + "EVA": "https://cdn.missingtextures.net/Icons/index.php?img=escape&hex=", + "EVI": "https://cdn.missingtextures.net/Icons/index.php?img=escape&hex=", + "EWW": "https://cdn.missingtextures.net/Icons/index.php?img=wind&hex=", + "FCW": "https://cdn.missingtextures.net/Icons/index.php?img=biohazard&hex=", + "FFS": "https://cdn.missingtextures.net/Icons/index.php?img=floods&hex=", + "FFA": "https://cdn.missingtextures.net/Icons/index.php?img=floods&hex=", + "FFW": "https://cdn.missingtextures.net/Icons/index.php?img=floods&hex=", + "FLS": "https://cdn.missingtextures.net/Icons/index.php?img=sea-waves&hex=", + "FLA": "https://cdn.missingtextures.net/Icons/index.php?img=sea-waves&hex=", + "FLW": "https://cdn.missingtextures.net/Icons/index.php?img=sea-waves&hex=", + "FRW": "https://cdn.missingtextures.net/Icons/index.php?img=fire&hex=", + "FSW": "https://cdn.missingtextures.net/Icons/index.php?img=snowflake&hex=", + "FZW": "https://cdn.missingtextures.net/Icons/index.php?img=snowflake&hex=", + "HMW": "https://cdn.missingtextures.net/Icons/index.php?img=biohazard&hex=", + "HUS": "https://cdn.missingtextures.net/Icons/index.php?img=hurricane&hex=", + "HUA": "https://cdn.missingtextures.net/Icons/index.php?img=hurricane&hex=", + "HUW": "https://cdn.missingtextures.net/Icons/index.php?img=hurricane&hex=", + "HWA": "https://cdn.missingtextures.net/Icons/index.php?img=wind&hex=", + "HWW": "https://cdn.missingtextures.net/Icons/index.php?img=wind&hex=", + "IBW": "https://cdn.missingtextures.net/Icons/index.php?img=snowflake&hex=", + "IFW": "https://cdn.missingtextures.net/Icons/index.php?img=fire&hex=", + "LAE": "https://cdn.missingtextures.net/Icons/index.php?img=break&hex=", + "LEW": "https://cdn.missingtextures.net/Icons/index.php?img=policeman&hex=", + "LSW": "https://cdn.missingtextures.net/Icons/index.php?img=avalanche&hex=", + "NAT": "https://cdn.missingtextures.net/Icons/index.php?img=speaker&hex=", + "NIC": "https://cdn.missingtextures.net/Icons/index.php?img=chat&hex=", + "NMN": "https://cdn.missingtextures.net/Icons/index.php?img=chat&hex=", + "NPT": "https://cdn.missingtextures.net/Icons/index.php?img=test-tube&hex=", + "NST": "https://cdn.missingtextures.net/Icons/index.php?img=quiet&hex=", + "NUW": "https://cdn.missingtextures.net/Icons/index.php?img=radio-active&hex=", + "POS": "https://cdn.missingtextures.net/Icons/index.php?img=electrical&hex=", + "RHW": "https://cdn.missingtextures.net/Icons/index.php?img=radio-active&hex=", + "RMT": "https://cdn.missingtextures.net/Icons/index.php?img=important-month&hex=", + "RWT": "https://cdn.missingtextures.net/Icons/index.php?img=important-week&hex=", + "SCS": "https://cdn.missingtextures.net/Icons/index.php?img=school&hex=", + "SMW": "https://cdn.missingtextures.net/Icons/index.php?img=beach&hex=", + "SPS": "https://cdn.missingtextures.net/Icons/index.php?img=rain&hex=", + "SPW": "https://cdn.missingtextures.net/Icons/index.php?img=cottage&hex=", + "SQW": "https://cdn.missingtextures.net/Icons/index.php?img=snow&hex=", + "SSA": "https://cdn.missingtextures.net/Icons/index.php?img=beach&hex=", + "SSW": "https://cdn.missingtextures.net/Icons/index.php?img=beach&hex=", + "SVA": "https://cdn.missingtextures.net/Icons/index.php?img=cloudshot&hex=", + "SVR": "https://cdn.missingtextures.net/Icons/index.php?img=cloudshot&hex=", + "SVS": "https://cdn.missingtextures.net/Icons/index.php?img=rain&hex=", + "TOA": "https://cdn.missingtextures.net/Icons/index.php?img=tornado&hex=", + "TOR": "https://cdn.missingtextures.net/Icons/index.php?img=tornado&hex=", + "TOE": "https://cdn.missingtextures.net/Icons/index.php?img=call&hex=", + "TRA": "https://cdn.missingtextures.net/Icons/index.php?img=beach&hex=", + "TRW": "https://cdn.missingtextures.net/Icons/index.php?img=beach&hex=", + "TSA": "https://cdn.missingtextures.net/Icons/index.php?img=tsunami&hex=", + "TSW": "https://cdn.missingtextures.net/Icons/index.php?img=tsunami&hex=", + "TXB": "https://cdn.missingtextures.net/Icons/index.php?img=internet-antenna&hex=", + "TXF": "https://cdn.missingtextures.net/Icons/index.php?img=internet-antenna&hex=", + "TXO": "https://cdn.missingtextures.net/Icons/index.php?img=internet-antenna&hex=", + "TXP": "https://cdn.missingtextures.net/Icons/index.php?img=internet-antenna&hex=", + "VOA": "https://cdn.missingtextures.net/Icons/index.php?img=volcano&hex=", + "VOW": "https://cdn.missingtextures.net/Icons/index.php?img=volcano&hex=", + "WFA": "https://cdn.missingtextures.net/Icons/index.php?img=fire&hex=", + "WFW": "https://cdn.missingtextures.net/Icons/index.php?img=fire&hex=", + "WSA": "https://cdn.missingtextures.net/Icons/index.php?img=snow&hex=", + "WSW": "https://cdn.missingtextures.net/Icons/index.php?img=snow&hex=" } } """ @@ -358,7 +358,7 @@ def __getTZ__(cls): @classmethod def __genEmailSig__(cls, call, version): - return f"""
 


{call} Software ENDEC Logs

Do Not Reply, This is a Software-Generated Message.

WACN Technologies ASMARA Version {version}

© 2022 WACN Technologies

P Save a tree. Don't print this e-mail unless it's necessary.

 

""" + return f"""
 


{call} Software ENDEC Logs

Do Not Reply, This is a Software-Generated Message.

MissingTextures Software ASMARA Version {version}

© 2022 MissingTextures Software

P Save a tree. Don't print this e-mail unless it's necessary.

 

""" @classmethod def __sendEmail__( @@ -505,7 +505,7 @@ def log( alertTitle = f"Unknown Alert ({header.split('-')[2]})" color = cls.__unk__ alertImage = ( - "http://acrn.gwes-eas.network/Icons/index.php?img=break&hex=" + "https://cdn.missingtextures.net/Icons/index.php?img=break&hex=" + str(hex(color)) ) relay = f"{status} at {DT.now().strftime('%m/%d/%Y %H:%M:%S ') + cls.__getTZ__()}" @@ -520,7 +520,7 @@ def log( filt2 = "" embed = DiscordEmbed(title=alertTitle, description=relay, color=color) embed.set_author(name=f"{station.strip()} - Software ENDEC Logs") - embed.set_footer(text=f"ASMARA {version} | © 2022 WACN Tech.") + embed.set_footer(text=f"ASMARA {version} | © 2024 MSNGTXTRS SOFT.") if monitorNum != "" and server != "": embed.add_embed_field( name="Recieved From:",