mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 13:03:31 +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) => {
|
this.createRole(message.channel.server).catch(error).then((data) => {
|
||||||
data.manageRoles = true;
|
data.manageRoles = true;
|
||||||
mybot.reply(message, JSON.stringify(data.serialise(), null, 4));
|
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