Created serverPermissions and roles array

This commit is contained in:
hydrabolt
2015-10-03 19:04:22 +01:00
parent 20114c81a5
commit 6967f5e649
2 changed files with 4 additions and 2 deletions

View File

@@ -10,6 +10,8 @@ class Server {
this.icon = data.icon;
this.afkTimeout = data.afk_timeout;
this.afkChannelId = data.afk_channel_id;
this.roles = [];
if(!data.members){
data.members = [ client.user ];