diff options
| author | Mathias Magnusson <mathias@magnusson.space> | 2026-01-20 10:43:30 +0100 |
|---|---|---|
| committer | Mathias Magnusson <mathias@magnusson.space> | 2026-01-20 10:43:30 +0100 |
| commit | db0b737210c1dd057a46b08ebfb050bcb80b35cd (patch) | |
| tree | 98337432279780d2c9eef7fa76ecea35680a370c /commands.ts | |
| parent | 47f1cef7c50c06de38d9b24c2579e8f8183dae23 (diff) | |
| download | challe-anka-db0b737210c1dd057a46b08ebfb050bcb80b35cd.tar.gz | |
parameterize solve message; clean up index.ts
Diffstat (limited to 'commands.ts')
| -rw-r--r-- | commands.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/commands.ts b/commands.ts index 2f5598f..7005165 100644 --- a/commands.ts +++ b/commands.ts @@ -15,6 +15,8 @@ import { type GuildBasedChannel, } from "discord.js"; +import { celebrationMessage } from "./index.ts"; + export let slashCommands = [ { slashCommand: new SlashCommandBuilder() @@ -309,7 +311,7 @@ async function solveThread(interaction: ChatInputCommandInteraction) { await channel.setAppliedTags(channel.appliedTags.filter(tag => tag !== unsolvedTag.id)); } - await interaction.reply("<:club_mate:889629353934213210> 🎉"); + await interaction.reply(celebrationMessage); } async function handleJoinCtfButton(interaction: ButtonInteraction, forumId: string) { |
