guild settings

This commit is contained in:
MathMan05 2024-09-10 14:52:30 -05:00
parent 72ac3a14ed
commit 68ab121d63
7 changed files with 45 additions and 62 deletions

View file

@ -71,6 +71,14 @@ class Guild extends SnowFlake {
method: "PATCH"
});
form.addTextInput("Name:", "name", { initText: this.properties.name });
form.addMDInput("Description:", "description", { initText: this.properties.description });
form.addFileInput("Banner:", "banner", { clear: true });
form.addFileInput("Icon:", "icon", { clear: true });
let region = this.properties.region;
if (!region) {
region = "";
}
form.addTextInput("Region:", "region", { initText: region });
}
const s1 = settings.addButton("roles");
const permlist = [];