guild updates apparently
This commit is contained in:
@@ -161,8 +161,7 @@ class Guild extends SnowFlake {
|
||||
function (e) {
|
||||
noti = ["all", "only mentions", "none"].indexOf(e);
|
||||
},
|
||||
noti
|
||||
],
|
||||
noti],
|
||||
["button", "", "submit", _ => {
|
||||
//
|
||||
fetch(this.info.api + `/users/@me/guilds/${this.id}/settings/`, {
|
||||
@@ -173,8 +172,7 @@ class Guild extends SnowFlake {
|
||||
})
|
||||
});
|
||||
this.message_notifications = noti;
|
||||
}]
|
||||
]);
|
||||
}]]);
|
||||
notiselect.show();
|
||||
}
|
||||
confirmleave() {
|
||||
|
@@ -167,7 +167,7 @@ class Guild extends SnowFlake{
|
||||
["vdiv",
|
||||
["radio","select notifications type",
|
||||
["all","only mentions","none"],
|
||||
function(e){
|
||||
function(e:"all"|"only mentions"|"none"){
|
||||
noti=["all","only mentions","none"].indexOf(e);
|
||||
},
|
||||
noti
|
||||
|
Reference in New Issue
Block a user