mirror of
https://github.com/citra-emu/discord-bot.git
synced 2024-12-22 20:25:34 +00:00
fix codeblock formatting for mobile (#61)
This commit is contained in:
parent
91575b9029
commit
fe5959cc72
|
@ -15,8 +15,8 @@ exports.command = function (message) {
|
|||
let warns = state.warnings.filter(x => x.id == user.id)
|
||||
let bans = state.bans.filter(x => x.id == user.id)
|
||||
|
||||
const warnsString = `Warns:\`\`\`${formatWarnings(warns).join('\n')}\`\`\``
|
||||
const bansString = `Bans:\`\`\`${formatBans(bans).join('\n')}\`\`\``
|
||||
const warnsString = `Warns: \`\`\`${formatWarnings(warns).join('\n')}\`\`\``
|
||||
const bansString = `Bans: \`\`\`${formatBans(bans).join('\n')}\`\`\``
|
||||
|
||||
message.channel.send(`\`${user.username} (${totalWarnings}) information:\`${warns.length != 0 ? warnsString : ''}${bans.length != 0 ? bansString : ''}`)
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue