Skip to content

Commit 035d350

Browse files
committed
Adjusted log message format to match existing style
1 parent f7d8a9a commit 035d350

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

src/handlers/channelSelectMenus.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ async function loadChannelSelectMenus(client) {
99
for (let i = 0; i < channelSelectMenuFiles.length; i++) {
1010
const channelSelectMenu = await import(`../interactions/channelSelectMenus/${channelSelectMenuFiles[i]}?${Date.now()}`);
1111
await client.channelSelectMenus.set(channelSelectMenu.default.id, channelSelectMenu.default);
12-
console.log(chalk.greenBright(`[channelSelectMenu] Loaded ${(chalk.yellow(channelSelectMenuFiles[i]))} with channelSelectMenu ${(chalk.yellow(channelSelectMenu.default.id))}`));
12+
console.log(chalk.greenBright(`[CHANNELSELECTMENU] Loaded ${(chalk.yellow(channelSelectMenuFiles[i]))} with channelSelectMenu ${(chalk.yellow(channelSelectMenu.default.id))}`));
1313
files++;
1414
}
1515
const channelSelectMenuFolders = readdirSync('./src/interactions/channelSelectMenus', { withFileTypes: true }).filter(file => file.isDirectory());
@@ -19,7 +19,7 @@ async function loadChannelSelectMenus(client) {
1919
for (let j = 0; j < channelSelectMenuFiles.length; j++) {
2020
const channelSelectMenu = await import(`../interactions/channelSelectMenus/${channelSelectMenuFolders[i].name}/${channelSelectMenuFiles[j]}?${Date.now()}`);
2121
await client.channelSelectMenus.set(channelSelectMenu.default.id, channelSelectMenu.default);
22-
console.log(chalk.greenBright(`[channelSelectMenu] Loaded ${(chalk.yellow(channelSelectMenuFiles[j]))} with channelSelectMenu ${(chalk.yellow(channelSelectMenu.default.id))}`));
22+
console.log(chalk.greenBright(`[CHANNELSELECTMENU] Loaded ${(chalk.yellow(channelSelectMenuFiles[j]))} with channelSelectMenu ${(chalk.yellow(channelSelectMenu.default.id))}`));
2323
files++;
2424
}
2525
}

src/handlers/mentionableSelectMenus.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ async function loadMentionableSelectMenus(client) {
99
for (let i = 0; i < mentionableSelectMenuFiles.length; i++) {
1010
const mentionableSelectMenu = await import(`../interactions/mentionableSelectMenus/${mentionableSelectMenuFiles[i]}?${Date.now()}`);
1111
await client.mentionableSelectMenus.set(mentionableSelectMenu.default.id, mentionableSelectMenu.default);
12-
console.log(chalk.greenBright(`[mentionableSelectMenu] Loaded ${(chalk.yellow(mentionableSelectMenuFiles[i]))} with mentionableSelectMenu ${(chalk.yellow(mentionableSelectMenu.default.id))}`));
12+
console.log(chalk.greenBright(`[MENTIONABLESELECTMENU] Loaded ${(chalk.yellow(mentionableSelectMenuFiles[i]))} with mentionableSelectMenu ${(chalk.yellow(mentionableSelectMenu.default.id))}`));
1313
files++;
1414
}
1515
const mentionableSelectMenuFolders = readdirSync('./src/interactions/mentionableSelectMenus', { withFileTypes: true }).filter(file => file.isDirectory());
@@ -19,7 +19,7 @@ async function loadMentionableSelectMenus(client) {
1919
for (let j = 0; j < mentionableSelectMenuFiles.length; j++) {
2020
const mentionableSelectMenu = await import(`../interactions/mentionableSelectMenus/${mentionableSelectMenuFolders[i].name}/${mentionableSelectMenuFiles[j]}?${Date.now()}`);
2121
await client.mentionableSelectMenus.set(mentionableSelectMenu.default.id, mentionableSelectMenu.default);
22-
console.log(chalk.greenBright(`[mentionableSelectMenu] Loaded ${(chalk.yellow(mentionableSelectMenuFiles[j]))} with mentionableSelectMenu ${(chalk.yellow(mentionableSelectMenu.default.id))}`));
22+
console.log(chalk.greenBright(`[MENTIONABLESELECTMENU] Loaded ${(chalk.yellow(mentionableSelectMenuFiles[j]))} with mentionableSelectMenu ${(chalk.yellow(mentionableSelectMenu.default.id))}`));
2323
files++;
2424
}
2525
}

src/handlers/roleSelectMenus.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ async function loadRoleSelectMenus(client) {
99
for (let i = 0; i < roleSelectMenuFiles.length; i++) {
1010
const roleSelectMenu = await import(`../interactions/roleSelectMenus/${roleSelectMenuFiles[i]}?${Date.now()}`);
1111
await client.roleSelectMenus.set(roleSelectMenu.default.id, roleSelectMenu.default);
12-
console.log(chalk.greenBright(`[roleSelectMenu] Loaded ${(chalk.yellow(roleSelectMenuFiles[i]))} with roleSelectMenu ${(chalk.yellow(roleSelectMenu.default.id))}`));
12+
console.log(chalk.greenBright(`[ROLESELECTMENU] Loaded ${(chalk.yellow(roleSelectMenuFiles[i]))} with roleSelectMenu ${(chalk.yellow(roleSelectMenu.default.id))}`));
1313
files++;
1414
}
1515
const roleSelectMenuFolders = readdirSync('./src/interactions/roleSelectMenus', { withFileTypes: true }).filter(file => file.isDirectory());
@@ -19,7 +19,7 @@ async function loadRoleSelectMenus(client) {
1919
for (let j = 0; j < roleSelectMenuFiles.length; j++) {
2020
const roleSelectMenu = await import(`../interactions/roleSelectMenus/${roleSelectMenuFolders[i].name}/${roleSelectMenuFiles[j]}?${Date.now()}`);
2121
await client.roleSelectMenus.set(roleSelectMenu.default.id, roleSelectMenu.default);
22-
console.log(chalk.greenBright(`[roleSelectMenu] Loaded ${(chalk.yellow(roleSelectMenuFiles[j]))} with roleSelectMenu ${(chalk.yellow(roleSelectMenu.default.id))}`));
22+
console.log(chalk.greenBright(`[ROLESELECTMENU] Loaded ${(chalk.yellow(roleSelectMenuFiles[j]))} with roleSelectMenu ${(chalk.yellow(roleSelectMenu.default.id))}`));
2323
files++;
2424
}
2525
}

src/handlers/selectMenus.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ async function loadSelectMenus(client) {
99
for (let i = 0; i < selectMenuFiles.length; i++) {
1010
const selectMenu = await import(`../interactions/selectMenus/${selectMenuFiles[i]}?${Date.now()}`);
1111
await client.selectMenus.set(selectMenu.default.id, selectMenu.default);
12-
console.log(chalk.greenBright(`[selectMenu] Loaded ${(chalk.yellow(selectMenuFiles[i]))} with selectMenu ${(chalk.yellow(selectMenu.default.id))}`));
12+
console.log(chalk.greenBright(`[SELECTMENU] Loaded ${(chalk.yellow(selectMenuFiles[i]))} with selectMenu ${(chalk.yellow(selectMenu.default.id))}`));
1313
files++;
1414
}
1515
const selectMenuFolders = readdirSync('./src/interactions/selectMenus', { withFileTypes: true }).filter(file => file.isDirectory());
@@ -19,7 +19,7 @@ async function loadSelectMenus(client) {
1919
for (let j = 0; j < selectMenuFiles.length; j++) {
2020
const selectMenu = await import(`../interactions/selectMenus/${selectMenuFolders[i].name}/${selectMenuFiles[j]}?${Date.now()}`);
2121
await client.selectMenus.set(selectMenu.default.id, selectMenu.default);
22-
console.log(chalk.greenBright(`[selectMenu] Loaded ${(chalk.yellow(selectMenuFiles[j]))} with selectMenu ${(chalk.yellow(selectMenu.default.id))}`));
22+
console.log(chalk.greenBright(`[SELECTMENU] Loaded ${(chalk.yellow(selectMenuFiles[j]))} with selectMenu ${(chalk.yellow(selectMenu.default.id))}`));
2323
files++;
2424
}
2525
}

src/handlers/userSelectMenus.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ async function loadUserSelectMenus(client) {
99
for (let i = 0; i < userSelectMenuFiles.length; i++) {
1010
const userSelectMenu = await import(`../interactions/userSelectMenus/${userSelectMenuFiles[i]}?${Date.now()}`);
1111
await client.userSelectMenus.set(userSelectMenu.default.id, userSelectMenu.default);
12-
console.log(chalk.greenBright(`[userSelectMenu] Loaded ${(chalk.yellow(userSelectMenuFiles[i]))} with userSelectMenu ${(chalk.yellow(userSelectMenu.default.id))}`));
12+
console.log(chalk.greenBright(`[USERSELECTMENU] Loaded ${(chalk.yellow(userSelectMenuFiles[i]))} with userSelectMenu ${(chalk.yellow(userSelectMenu.default.id))}`));
1313
files++;
1414
}
1515
const userSelectMenuFolders = readdirSync('./src/interactions/userSelectMenus', { withFileTypes: true }).filter(file => file.isDirectory());
@@ -19,7 +19,7 @@ async function loadUserSelectMenus(client) {
1919
for (let j = 0; j < userSelectMenuFiles.length; j++) {
2020
const userSelectMenu = await import(`../interactions/userSelectMenus/${userSelectMenuFolders[i].name}/${userSelectMenuFiles[j]}?${Date.now()}`);
2121
await client.userSelectMenus.set(userSelectMenu.default.id, userSelectMenu.default);
22-
console.log(chalk.greenBright(`[userSelectMenu] Loaded ${(chalk.yellow(userSelectMenuFiles[j]))} with userSelectMenu ${(chalk.yellow(userSelectMenu.default.id))}`));
22+
console.log(chalk.greenBright(`[USERSELECTMENU] Loaded ${(chalk.yellow(userSelectMenuFiles[j]))} with userSelectMenu ${(chalk.yellow(userSelectMenu.default.id))}`));
2323
files++;
2424
}
2525
}

0 commit comments

Comments
 (0)