diff --git a/commands/utility/vid2gif.js b/commands/utility/vid2gif.js index 02840ef3..a22b60f9 100644 --- a/commands/utility/vid2gif.js +++ b/commands/utility/vid2gif.js @@ -13,7 +13,7 @@ class vid2gifCommand extends Command { args: [ { id: 'vid', - type: 'string' + type: 'url' }, { id: 'fps', diff --git a/rand.js b/rand.js index 4cba8187..79cc903c 100644 --- a/rand.js +++ b/rand.js @@ -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*\]/,