diff --git a/structure/extensions/Message.js b/structure/extensions/Message.js index f83157b..aedca7e 100644 --- a/structure/extensions/Message.js +++ b/structure/extensions/Message.js @@ -1,6 +1,6 @@ const { Structures } = require('discord.js'); -const { Util, Emojis } = require('../../util/'); +const { Emojis } = require('../../util/'); const { stripIndents } = require('common-tags'); const Message = Structures.extend('Message', (Message) => { @@ -112,7 +112,7 @@ const Message = Structures.extend('Message', (Message) => { return super.edit(str); } - async prompt(str, opts) { + async prompt(str, opts = {}) { if(typeof str === 'string') { if(opts.emoji) str = `${Emojis[opts.emoji]} ${str}`; if(opts.reply) str = `<@!${this.author.id}> ${str}`;