table final
This commit is contained in:
parent
5f67298b37
commit
ad8e8868db
7
bot.js
7
bot.js
@ -22,11 +22,14 @@ bot.command(
|
||||
stringTable.create(
|
||||
getPlayersData
|
||||
.map(({ displayName, level, online }) => ({
|
||||
'имя ': `👤 *${displayName}*`,
|
||||
'имя ': `👤 ${displayName}`,
|
||||
'уровень': level,
|
||||
'статус ': `${online ? '✅ *онлайн*' : '❔ оффлайн'}`
|
||||
'статус ': `${online ? '✅ онлайн' : '❔ оффлайн'}`
|
||||
}))
|
||||
)
|
||||
.split('\n')
|
||||
.map(line => `\`\`\`${line}\`\`\``)
|
||||
.join('\n')
|
||||
))
|
||||
)
|
||||
bot.launch()
|
||||
|
Loading…
x
Reference in New Issue
Block a user