From 1383b889c7de9467151c4634f6fea7b44004541c Mon Sep 17 00:00:00 2001 From: BluDood Date: Sat, 5 Nov 2022 19:32:49 +0100 Subject: [PATCH] Default `message` value to avoid crash --- utils/log.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/log.js b/utils/log.js index 90e1f33..bcb0bdb 100644 --- a/utils/log.js +++ b/utils/log.js @@ -49,7 +49,7 @@ module.exports = (guild, type, info) => { }, { name: 'Message', - value: info.content + value: info.content || 'Unknown' }, { name: 'Channel',