From acfe0010a5657fab69f409dde499ae247cb4b89e Mon Sep 17 00:00:00 2001 From: loicbersier Date: Tue, 28 Jul 2020 16:00:43 +0200 Subject: [PATCH] What the fuck am i doing Signed-off-by: loicbersier --- rand.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rand.js b/rand.js index 79cc903c..2e1aa75b 100644 --- a/rand.js +++ b/rand.js @@ -27,7 +27,7 @@ exports.random = function (text, message) { }, { name: /\[member\]/, - value: message.guild ? message.guild.members.cache.random().user.username : '' + value: message ? message.guild ? message.guild.members.cache.random().user.username : '' : '' // What the fuck am i doing }, { name: /\[memberRand\]/,