diff --git a/discord/commands/config/config.ts b/discord/commands/config/config.ts index 7719bd6..d258008 100644 --- a/discord/commands/config/config.ts +++ b/discord/commands/config/config.ts @@ -18,6 +18,7 @@ async function configCommand(interaction: ChatInputCommandInteraction) { if (interaction.user.id !== process.env.ADMIN) { await interaction.reply("You are not authorized to change model settings"); + return; } config.llmSettings.max_new_tokens = interaction.options.getInteger('max_new_tokens') ?? config.llmSettings.max_new_tokens;