diff --git a/structure/extensions/Message.js b/structure/extensions/Message.js index 077200c..f83157b 100644 --- a/structure/extensions/Message.js +++ b/structure/extensions/Message.js @@ -118,7 +118,7 @@ const Message = Structures.extend('Message', (Message) => { if(opts.reply) str = `<@!${this.author.id}> ${str}`; } await this.channel.send(str); - return this.channel.awaitMessages((m) => m.author.id === this.author.id, { max: 1, time: 30000, errors: ['time'] }) + return this.channel.awaitMessages((m) => m.author.id === this.author.id, { max: 1, time: opts.time || 30000, errors: ['time'] }) .then((collected) => { return collected.first(); }) @@ -158,6 +158,7 @@ const Message = Structures.extend('Message', (Message) => { const embed = { author: { name: `${component.name}${component.module ? ` (${component.module.resolveable})` : ''}`, + // eslint-disable-next-line camelcase icon_url: this.client.user.displayAvatarURL() }, description: stripIndents`\`${prefix}${component.name}${component.usage ? ` ${component.usage}` : ''}\`${component.guildOnly ? ' *(guild-only)*' : ''}