1. too lazy to fix this properly, 2. curse you prettier

This commit is contained in:
powermaker450 2024-10-12 13:12:39 -04:00
parent 8338858066
commit 82bb01e326

View file

@ -53,14 +53,14 @@ export async function execute(interaction: CommandInteraction) {
const message = await (
BotClient.channels.cache.get(confessChannel!) as TextChannel
)
// @ts-ignore
.send(
// @ts-ignore
`# Confession ${messageId}:\n${interaction.options.getString("message")}`,
);
await (BotClient.channels.cache.get(adminChannel!) as TextChannel)
// @ts-ignore
.send(
// @ts-ignore
`# Confession ${messageId}:\n### Author: ${interaction.user.displayName}\n### Author ID: ${interaction.user.id}\n${interaction.options.getString("message")}`,
);