guild-settings #35

Merged
sauceyred merged 42 commits from guild-settings into main 2025-07-13 02:26:37 +00:00
Showing only changes of commit efaf606c3c - Show all commits

View file

@ -117,7 +117,8 @@ const options = [
const input = document.getElementById("guild-name-input") as HTMLInputElement;
const name = input.value;
try {
await api.createGuild(name);
const guild = (await api.createGuild(name)) as GuildResponse;
await api.createChannel(guild.uuid, "general");
} catch (error) {
alert(`Couldn't create guild: ${error}`);
}