Change prettier line width from 80 to 100, reformat files

This commit is contained in:
Dragory 2018-07-12 01:45:26 +03:00
parent 7e688ac899
commit 69224810cd
4 changed files with 36 additions and 99 deletions

View file

@ -21,9 +21,7 @@ export class UtilityPlugin extends Plugin {
@d.command("roles")
@d.permission("roles")
async rolesCmd(msg: Message) {
const roles = (msg.channel as TextChannel).guild.roles.map(
role => `${role.name} ${role.id}`
);
const roles = (msg.channel as TextChannel).guild.roles.map(role => `${role.name} ${role.id}`);
msg.channel.createMessage("```" + roles.join("\n") + "```");
}
}