guild updates apparently

This commit is contained in:
MathMan05 2024-09-13 19:59:58 -05:00
parent 428aa54ed8
commit 70c3d0d64b
2 changed files with 3 additions and 5 deletions

View file

@ -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() {

View file

@ -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