This commit is contained in:
Tarrgon
2026-06-02 22:33:24 -04:00
parent a9e99cc570
commit 67a3753b96
6 changed files with 17 additions and 17 deletions
+6 -6
View File
@@ -17,15 +17,15 @@ export function CreateDefaultEmbed(context: Client): APIEmbed {
},
timestamp: new Date().toISOString()
}
};
}
export function SetSeverity(severity: EmbedSeverity): APIEmbed {
switch (severity) {
case 'default': return { color: 0x014995 }
case 'info': return { color: 0x5865F2 }
case 'warning': return { color: 0xFEE75C }
case 'error': return { color: 0xED4245 }
case 'success': return { color: 0x57F287 }
case 'default': return { color: 0x014995 };
case 'info': return { color: 0x5865F2 };
case 'warning': return { color: 0xFEE75C };
case 'error': return { color: 0xED4245 };
case 'success': return { color: 0x57F287 };
}
}