added user not found message

This commit is contained in:
Neko Life 2021-05-09 09:50:16 +00:00
parent 48c12d99f9
commit 124d9dd0dd
2 changed files with 3 additions and 1 deletions

View file

@ -118,6 +118,8 @@ module.exports = class avatar extends commando.Command {
emb.setColor(16777214);
}
allEmb.push(emb);
} else {
trySend(this.client, msg, `Can't find user: **${avThis.trim()}**`);
}
}
if (onceOnly) {

View file

@ -1,7 +1,7 @@
'use strict';
const commando = require("@iceprod/discord.js-commando");
const { errLog, ranLog, trySend, tryDelete } = require("../../resources/functions");
const { ranLog, trySend, tryDelete } = require("../../resources/functions");
module.exports = class say extends commando.Command {
constructor(client) {