From b8bc4acf4b253a4a6ce49d6972430c089bb33d7a Mon Sep 17 00:00:00 2001 From: Regalijan Date: Sun, 31 Aug 2025 00:47:12 -0400 Subject: [PATCH] Replace remaining hex colors with base 10 colors --- functions/api/appeals/[id]/accept.ts | 3 +-- functions/api/appeals/[id]/deny.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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: [ {