forked from Supositware/Haha-Yes
What the fuck am i doing
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
This commit is contained in:
parent
cdab95811c
commit
acfe0010a5
1 changed files with 1 additions and 1 deletions
2
rand.js
2
rand.js
|
@ -27,7 +27,7 @@ exports.random = function (text, message) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: /\[member\]/,
|
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\]/,
|
name: /\[memberRand\]/,
|
||||||
|
|
Loading…
Reference in a new issue