forked from Supositware/Haha-Yes
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
e2d46cf376
2 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ class vid2gifCommand extends Command {
|
||||||
args: [
|
args: [
|
||||||
{
|
{
|
||||||
id: 'vid',
|
id: 'vid',
|
||||||
type: 'string'
|
type: 'url'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'fps',
|
id: 'fps',
|
||||||
|
|
4
rand.js
4
rand.js
|
@ -27,11 +27,11 @@ exports.random = function (text, message) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: /\[member\]/,
|
name: /\[member\]/,
|
||||||
value: message ? message.guild.members.cache.random().user.username : ''
|
value: message.guild ? message.guild.members.cache.random().user.username : ''
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: /\[memberRand\]/,
|
name: /\[memberRand\]/,
|
||||||
value: (() => message ? message.guild.members.cache.random().user.username : '')
|
value: (() => message.guild ? message.guild.members.cache.random().user.username : '')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: /\[dice\d*\]/,
|
name: /\[dice\d*\]/,
|
||||||
|
|
Loading…
Reference in a new issue