diff --git a/functions/api/appeals/[id]/accept.ts b/functions/api/appeals/[id]/accept.ts index 75707c5..1a8e16d 100644 --- a/functions/api/appeals/[id]/accept.ts +++ b/functions/api/appeals/[id]/accept.ts @@ -43,7 +43,6 @@ export async function onRequestPost(context: RequestContext) { .bind(context.params.id) .run(); - await fetch( `https://discord.com/api/v10/guilds/242263977986359297/bans/${appeal.user.id}`, { @@ -60,7 +59,7 @@ export async function onRequestPost(context: RequestContext) { embeds: [ { title: "Appeal Accepted", - color: 0x00ff00, + color: 65280, description: `Appeal from user ${appeal.user.username} (${appeal.user.id}) was accepted.`, fields: [ { diff --git a/functions/api/appeals/[id]/deny.ts b/functions/api/appeals/[id]/deny.ts index 350b209..4e958de 100644 --- a/functions/api/appeals/[id]/deny.ts +++ b/functions/api/appeals/[id]/deny.ts @@ -49,7 +49,7 @@ export async function onRequestPost(context: RequestContext) { embeds: [ { title: "Appeal Denied", - color: 0xff0000, + color: 16711680, description: `Appeal from user ${appeal.user.username} (${appeal.user.id}) was denied.`, fields: [ {