What the fuck am i doing

Signed-off-by: loicbersier <loic.bersier1@gmail.com>
This commit is contained in:
loicbersier 2020-07-28 16:00:43 +02:00
parent cdab95811c
commit acfe0010a5

View file

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