Change prettier line width from 80 to 100, reformat files
This commit is contained in:
parent
7e688ac899
commit
69224810cd
4 changed files with 36 additions and 99 deletions
|
@ -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") + "```");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue