Servers now manage server-wide permissions

Servers now create ServerPermissions objects for roles
This commit is contained in:
hydrabolt
2015-10-03 19:44:08 +01:00
parent 6967f5e649
commit b264b61718
5 changed files with 159 additions and 57 deletions

View File

@@ -19,11 +19,7 @@ mybot.on("message", function (message) {
// we can go ahead :)
var onlineUsers = 0;
counter++;
mybot.playingGame( "Minecraft" );
mybot.reply(message, "\n\n"+JSON.stringify(message.channel.server.roles));
});