diff --git a/commands/random-seed/name-rater.js b/commands/random-seed/name-rater.js index a73896d3..20bf90f6 100644 --- a/commands/random-seed/name-rater.js +++ b/commands/random-seed/name-rater.js @@ -26,7 +26,7 @@ module.exports = class NameRaterCommand extends Command { type: 'string', max: 25, default: msg => msg.author.username, - validate: name => { + validate: async name => { const matches = name.match(/^(?:<@!?)?([0-9]+)>?$/); if (matches) { try {