fix default embed colour as #UNDEFINED
All checks were successful
Build and Push Docker Image / build (push) Successful in 16s
All checks were successful
Build and Push Docker Image / build (push) Successful in 16s
This commit is contained in:
parent
8c34d15bf1
commit
262ca6ef0d
@ -152,17 +152,8 @@ $("#serverForm").on("submit", async function(event) {
|
||||
serverIsOwner = selectedOption.attr("data-isowner");
|
||||
|
||||
var serverPrimaryKey = await registerNewServer(serverName, serverGuildId, serverIconHash, serverPermissions, serverIsOwner);
|
||||
|
||||
if (serverPrimaryKey !== false) {
|
||||
addToLoadedServers({
|
||||
id: serverPrimaryKey,
|
||||
name: serverName,
|
||||
guild_id: serverGuildId,
|
||||
icon: serverIconHash,
|
||||
permissions: serverPermissions,
|
||||
owner: serverIsOwner
|
||||
});
|
||||
}
|
||||
if (serverPrimaryKey)
|
||||
addToLoadedServers(await getSavedGuild(serverPrimaryKey));
|
||||
|
||||
$("#serverFormModal").modal("hide");
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user