Reformat code

This commit is contained in:
hydrabolt
2015-10-26 12:20:48 +00:00
parent 685d08ffa5
commit a3b2f9c2d4
2 changed files with 20 additions and 17 deletions

View File

@@ -33,6 +33,9 @@ mybot.on("message", function (message) {
this.createRole(message.channel.server).catch(error).then((data) => {
data.manageRoles = true;
mybot.reply(message, JSON.stringify(data.serialise(), null, 4));
mybot.updateRole(message.channel.server, data).catch(error).then(console.log)
});
});