mirror of
https://github.com/arthur-pbty/bot-discord-coins.git
synced 2026-06-24 14:16:31 +02:00
Update affichage
This commit is contained in:
@@ -33,26 +33,26 @@ module.exports = {
|
|||||||
resolve(rows);
|
resolve(rows);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
let CadenaS = ":unlock:"
|
let CadenaS = "🔓"
|
||||||
if (team.padlock == 5) {
|
if (team.padlock == 5) {
|
||||||
CadenaS = ":lock::lock::lock::lock::lock:"
|
CadenaS = "🔐🔐🔐🔐🔐"
|
||||||
}
|
}
|
||||||
if (team.padlock == 4) {
|
if (team.padlock == 4) {
|
||||||
CadenaS = ":lock::lock::lock::lock:"
|
CadenaS = "🔐🔐🔐🔐"
|
||||||
}
|
}
|
||||||
if (team.padlock == 3) {
|
if (team.padlock == 3) {
|
||||||
CadenaS = ":lock::lock::lock:"
|
CadenaS = "🔐🔐🔐"
|
||||||
}
|
}
|
||||||
if (team.padlock == 2) {
|
if (team.padlock == 2) {
|
||||||
CadenaS = ":lock::lock:"
|
CadenaS = "🔐"
|
||||||
}
|
}
|
||||||
if (team.padlock == 1) {
|
if (team.padlock == 1) {
|
||||||
CadenaS = ":lock:"
|
CadenaS = "🔐"
|
||||||
}
|
}
|
||||||
|
|
||||||
const embed = new EmbedBuilder()
|
const embed = new EmbedBuilder()
|
||||||
.setTitle('🛡️ Informations de team')
|
.setTitle('🛡️ Informations de `' + team.name + '`:')
|
||||||
.setDescription(`**Nom:** ${team.name}\n**Description:** ${team.description}\n**Banque:** ${team.bank} coins\n**Niveau:** ${team.level}\n**Reputation:** ${team.reputation}\n\n**Soldats:** ${team.soldiers}\n**Soldats blessés:** ${team.woundedSoldiers}\n**Niveau du camp:** ${team.campLevel}\n**Tourelles:** ${team.turrets}\n**Cadenas:** ${CadenaS}\n\n**Membres (${memberlist.length}):**\n${memberlist.map(member => `**${member.teamRole}:** <@${member.userId}>`).join('\n')}`)
|
.setDescription(`**Id:** \`${team.id}\`\n**Description:** \`${team.description}\`\n**Banque:** \`${team.bank}\`coins\n**Niveau:** \`${team.level}\`\n**Reputation:** \`${team.reputation}\`\n\n**Soldats:** \`${team.soldiers}\`\n**Soldats blessés:** \`${team.woundedSoldiers}\`\n**Niveau du camp:** \`${team.campLevel}\`\n**Tourelles:** \`${team.turrets}\`\n**Cadenas:** \`${CadenaS}\`\n\n**Membres (\`${memberlist.length}\`):**\n${memberlist.map(member => `**${member.teamRole}:** <@${member.userId}>`).join('\n')}`)
|
||||||
.setColor(await embedColor(message.author.id, message.guild.id))
|
.setColor(await embedColor(message.author.id, message.guild.id))
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.setFooter({ text: `Demandé par ${message.author.tag}`, iconURL: message.author.displayAvatarURL() });
|
.setFooter({ text: `Demandé par ${message.author.tag}`, iconURL: message.author.displayAvatarURL() });
|
||||||
|
|||||||
Reference in New Issue
Block a user