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)
|
.bind(context.params.id)
|
||||||
.run();
|
.run();
|
||||||
|
|
||||||
|
|
||||||
await fetch(
|
await fetch(
|
||||||
`https://discord.com/api/v10/guilds/242263977986359297/bans/${appeal.user.id}`,
|
`https://discord.com/api/v10/guilds/242263977986359297/bans/${appeal.user.id}`,
|
||||||
{
|
{
|
||||||
@@ -60,7 +59,7 @@ export async function onRequestPost(context: RequestContext) {
|
|||||||
embeds: [
|
embeds: [
|
||||||
{
|
{
|
||||||
title: "Appeal Accepted",
|
title: "Appeal Accepted",
|
||||||
color: 0x00ff00,
|
color: 65280,
|
||||||
description: `Appeal from user ${appeal.user.username} (${appeal.user.id}) was accepted.`,
|
description: `Appeal from user ${appeal.user.username} (${appeal.user.id}) was accepted.`,
|
||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ export async function onRequestPost(context: RequestContext) {
|
|||||||
embeds: [
|
embeds: [
|
||||||
{
|
{
|
||||||
title: "Appeal Denied",
|
title: "Appeal Denied",
|
||||||
color: 0xff0000,
|
color: 16711680,
|
||||||
description: `Appeal from user ${appeal.user.username} (${appeal.user.id}) was denied.`,
|
description: `Appeal from user ${appeal.user.username} (${appeal.user.id}) was denied.`,
|
||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user