From f482d6e4951ceb4270e28de3a16a46a878d6a956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C4=B1ra=C3=A7=20Arma=C4=9Fan=20=C3=96nal?= Date: Fri, 12 Nov 2021 02:00:41 +0300 Subject: [PATCH] =?UTF-8?q?FIX=20BUG:=20Umursanmayan=20Orta=20=C4=B0simler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index 14f380c..ae1662f 100644 --- a/index.js +++ b/index.js @@ -142,6 +142,9 @@ async function load() { console.info(`[BİLGİ] ("${rltPath}") "${event.id}" adlı event yüklendi. (${Date.now() - start}ms sürdü.)`); }) + // Önce ismi daha uzun olanlar test edilsin diye. + Underline.interactions.sort((a, b) => b.name.length - a.name.length); + if (Underline.events.size) { console.info(`[BİLGİ] ${Underline.events.size} event yüklendi.`); } else {