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\]/,