mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
Reformat code
This commit is contained in:
@@ -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)
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user