diff --git a/app/lib/discord/bot.ts b/app/lib/discord/bot.ts index a5be830..ba369e0 100644 --- a/app/lib/discord/bot.ts +++ b/app/lib/discord/bot.ts @@ -126,6 +126,7 @@ export class Bot extends REST { } errorEmbed(msg?: string): APIEmbed { + console.log("Error:", msg); return { title: "Error", description: msg ?? "There was an error executing your request", @@ -158,7 +159,7 @@ export class Bot extends REST { await this.patch( Routes.webhookMessage(this.applicationId, interaction.token, "@original"), { - body: data, + body: JSON.stringify(data), } ); }