Permalink
Browse files

Logs with undefined types should be red.

  • Loading branch information...
roncli committed Nov 20, 2018
1 parent 2c93e2a commit 7a3d926db33917522993482a0cc1a90c67dc0cc8
Showing with 1 addition and 1 deletion.
  1. +1 −1 log.js
2 log.js
@@ -108,7 +108,7 @@ class Log {
queue.forEach((log) => {
const message = {
embed: {
color: log.type === "log" ? 0x80FF80 : log.type === "warning" ? 0xFFFF00 : log.type === "exception" ? 0xFF0000 : 0x16F6F8,
color: log.type === "log" ? 0x80FF80 : log.type === "warning" ? 0xFFFF00 : 0xFF0000,
footer: {"icon_url": Discord.icon, text: "DescentBot"},
fields: [],
timestamp: log.date

0 comments on commit 7a3d926

Please sign in to comment.