fix codeblock formatting for mobile (#61)

This commit is contained in:
Vamsi Krishna 2019-07-31 00:05:56 +05:30 committed by GitHub
parent 91575b9029
commit fe5959cc72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 : ''}`)
});