This commit is contained in:
Dragon Fire
2021-03-08 20:27:51 -05:00
parent bde9aeaa23
commit 0d0409d2c0
+1 -1
View File
@@ -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 {