Merge remote-tracking branch 'origin/master'

This commit is contained in:
loicbersier 2020-07-26 11:53:23 +02:00
commit e2d46cf376
2 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ class vid2gifCommand extends Command {
args: [
{
id: 'vid',
type: 'string'
type: 'url'
},
{
id: 'fps',

View file

@ -27,11 +27,11 @@ exports.random = function (text, message) {
},
{
name: /\[member\]/,
value: message ? message.guild.members.cache.random().user.username : ''
value: message.guild ? message.guild.members.cache.random().user.username : ''
},
{
name: /\[memberRand\]/,
value: (() => message ? message.guild.members.cache.random().user.username : '')
value: (() => message.guild ? message.guild.members.cache.random().user.username : '')
},
{
name: /\[dice\d*\]/,