guild updates apparently
This commit is contained in:
parent
428aa54ed8
commit
70c3d0d64b
2 changed files with 3 additions and 5 deletions
|
@ -161,8 +161,7 @@ class Guild extends SnowFlake {
|
||||||
function (e) {
|
function (e) {
|
||||||
noti = ["all", "only mentions", "none"].indexOf(e);
|
noti = ["all", "only mentions", "none"].indexOf(e);
|
||||||
},
|
},
|
||||||
noti
|
noti],
|
||||||
],
|
|
||||||
["button", "", "submit", _ => {
|
["button", "", "submit", _ => {
|
||||||
//
|
//
|
||||||
fetch(this.info.api + `/users/@me/guilds/${this.id}/settings/`, {
|
fetch(this.info.api + `/users/@me/guilds/${this.id}/settings/`, {
|
||||||
|
@ -173,8 +172,7 @@ class Guild extends SnowFlake {
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
this.message_notifications = noti;
|
this.message_notifications = noti;
|
||||||
}]
|
}]]);
|
||||||
]);
|
|
||||||
notiselect.show();
|
notiselect.show();
|
||||||
}
|
}
|
||||||
confirmleave() {
|
confirmleave() {
|
||||||
|
|
|
@ -167,7 +167,7 @@ class Guild extends SnowFlake{
|
||||||
["vdiv",
|
["vdiv",
|
||||||
["radio","select notifications type",
|
["radio","select notifications type",
|
||||||
["all","only mentions","none"],
|
["all","only mentions","none"],
|
||||||
function(e){
|
function(e:"all"|"only mentions"|"none"){
|
||||||
noti=["all","only mentions","none"].indexOf(e);
|
noti=["all","only mentions","none"].indexOf(e);
|
||||||
},
|
},
|
||||||
noti
|
noti
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue