added default to fix DM notifications
This commit is contained in:
@@ -55,6 +55,7 @@ class guild{
|
|||||||
this.roles=[];
|
this.roles=[];
|
||||||
this.roleids={};
|
this.roleids={};
|
||||||
this.prevchannel=undefined;
|
this.prevchannel=undefined;
|
||||||
|
this.message_notifications=0;
|
||||||
for(const roley of JSON.roles){
|
for(const roley of JSON.roles){
|
||||||
const roleh=new role(roley);
|
const roleh=new role(roley);
|
||||||
this.roles.push(roleh)
|
this.roles.push(roleh)
|
||||||
|
Reference in New Issue
Block a user