emoji autofill

This commit is contained in:
MathMan05
2024-11-16 15:12:12 -06:00
parent 79689b8d42
commit f36b9382f1
5 changed files with 96 additions and 38 deletions

View File

@@ -612,8 +612,7 @@ txt[j + 1] === undefined)
appendcurrent();
i = j;
const isEmojiOnly = txt.join("").trim() === buildjoin.trim();
const owner =
this.owner instanceof Channel ? this.owner.guild : this.owner;
const owner = this.owner instanceof Channel ? this.owner.guild : this.owner;
if(!owner) continue;
const emoji = new Emoji(
{ name: buildjoin, id: parts[2], animated: Boolean(parts[1]) },