Skip to content

Commit

Permalink
FIX BUG: Umursanmayan Orta İsimler
Browse files Browse the repository at this point in the history
  • Loading branch information
TheArmagan committed Nov 11, 2021
1 parent 405e8ee commit f482d6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f482d6e

Please sign in to comment.