mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-28 09:24:14 +01: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 New Issue
Block a user