Updated list.js

This commit is contained in:
Christer Warén 2021-08-31 15:55:36 +03:00
parent fe165f03c6
commit ec651a681c

View File

@ -14,7 +14,7 @@ module.exports = {
let stations = `${client.stations.map(s => `**#** ${s.name}`).join('\n')}`
const hashs = stations.split('**#**').length;
for (let i = 0; i < hashs; i++) {
stations = stations.replace('**#**', `**${i + 1}**`);
stations = stations.replace('**#**', `**${i + 1}.**`);
}
const embed = new Discord.MessageEmbed()