mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
Created serverPermissions and roles array
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user