mirror of
https://github.com/danbulant/Shasha
synced 2026-05-24 12:22:00 +00:00
fixed avatar bug
This commit is contained in:
parent
01abcc8295
commit
bd59af61b0
1 changed files with 1 additions and 4 deletions
|
|
@ -51,11 +51,8 @@ module.exports = class avatar extends commando.Command {
|
|||
if (arg) {
|
||||
for(const theAvThis of args) {
|
||||
let avThis = theAvThis.replace(/\-\-show *\d*/i, "");
|
||||
if (avThis.length === 1) {
|
||||
return trySend(this.client, msg, "One character for searching member isn't allowed <:catstareLife:794930503076675584>");
|
||||
}
|
||||
let uID = cleanMentionID(avThis.trim());
|
||||
if (uID.length > 1) {
|
||||
if (uID.length > 0) {
|
||||
let ree = [];
|
||||
async function nonDigit(client) {
|
||||
const theree = findMemberRegEx(msg, uID);
|
||||
|
|
|
|||
Loading…
Reference in a new issue