Replace remaining hex colors with base 10 colors
This commit is contained in:
@@ -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: [
|
||||
{
|
||||
|
||||
@@ -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: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user