From 70c3d0d64b1881ffb8232e051ddf37d466fd310c Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Fri, 13 Sep 2024 19:59:58 -0500 Subject: [PATCH] guild updates apparently --- .dist/guild.js | 6 ++---- webpage/guild.ts | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.dist/guild.js b/.dist/guild.js index 2eee51f..d774d06 100644 --- a/.dist/guild.js +++ b/.dist/guild.js @@ -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() { diff --git a/webpage/guild.ts b/webpage/guild.ts index 11fe3ab..b9c80ea 100644 --- a/webpage/guild.ts +++ b/webpage/guild.ts @@ -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