mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2025-02-25 05:33:56 -05:00
§6
This commit is contained in:
parent
cd4d2427b6
commit
40260c716d
1 changed files with 2 additions and 2 deletions
|
@ -61,14 +61,14 @@ module.exports = {
|
||||||
const absolutePath = await resolve(SONGS_PATH);
|
const absolutePath = await resolve(SONGS_PATH);
|
||||||
const listed = await list(absolutePath);
|
const listed = await list(absolutePath);
|
||||||
|
|
||||||
let color = '§4';
|
let color = '§6';
|
||||||
let message = '';
|
let message = '';
|
||||||
|
|
||||||
listed.forEach((value) => {
|
listed.forEach((value) => {
|
||||||
if (color==='§4') {
|
if (color==='§4') {
|
||||||
color = '§e';
|
color = '§e';
|
||||||
} else if (color==='§e') {
|
} else if (color==='§e') {
|
||||||
color = '§4';
|
color = '§6';
|
||||||
};
|
};
|
||||||
message += color + value + ' ';
|
message += color + value + ' ';
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue