Skip to content

Commit 3b84fc2

Browse files
authored
Minor Fix
1 parent de1e07d commit 3b84fc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

publishInteractions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ globalThis.Underline = {
5959
let uInter = require(interactionFilePath);
6060
if(uInter?._type != "interaction") return;
6161
if (!uInter.publishType) uInter.publishType = "all";
62-
if (!(uInter.publishType == "all" || (uInter.publishType == "guildOnly" && publishMode == "global") || (uInter.publishType == "globalOnly" && publishMode == "global"))) {
62+
if (!(uInter.publishType == "all" || (uInter.publishType == "guildOnly" && publishMode == "guild") || (uInter.publishType == "globalOnly" && publishMode == "global"))) {
6363
console.warn(`Interaksiyon "${uInter.actionType == "CHAT_INPUT" ? `/${uInter.name.join(" ")}` : `${uInter.name[0]}`}" dönüştürülme listesine eklenmedi çünkü interaksiyon paylaşılma tipi(${uInter.publishType}) ile paylaşma modu(${publishMode}) uyumsuz!`);
6464
return;
6565
}
@@ -206,4 +206,4 @@ globalThis.Underline = {
206206
}
207207

208208
console.info(`İnteraksiyonlar paylaşıldı!`);
209-
})();
209+
})();

0 commit comments

Comments
 (0)