mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-31 03:33:36 -05:00
@KrystalSkullOfficial Bot Tag Fix
This commit is contained in:
parent
2cfb68ae56
commit
7ff8ee8001
1 changed files with 1 additions and 0 deletions
|
@ -301,6 +301,7 @@ export default definePlugin({
|
|||
const [tagName, variant] = passedTagName.split("-");
|
||||
if (!passedTagName) return getIntlMessage("APP_TAG");
|
||||
const tag = tags.find(({ name }) => tagName === name);
|
||||
if (!tag && Settings.plugins.NoAppsAllowed.enabled) return "BOT";
|
||||
if (!tag) return getIntlMessage("APP_TAG");
|
||||
if (variant === "BOT" && tagName !== "WEBHOOK" && this.settings.store.dontShowForBots) return getIntlMessage("APP_TAG");
|
||||
|
||||
|
|
Loading…
Reference in a new issue