From 9ac592165c9af1e34e523a8ad6453700300207eb Mon Sep 17 00:00:00 2001 From: Kira Date: Mon, 15 Dec 2025 14:23:56 -0500 Subject: [PATCH] should probably keep this to dms --- commands/jellyfin.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commands/jellyfin.js b/commands/jellyfin.js index 348f728..9335c2a 100644 --- a/commands/jellyfin.js +++ b/commands/jellyfin.js @@ -71,8 +71,10 @@ module.exports = { if (!config.jellyfin.users.includes(interaction.user.id)) { interaction.reply({ content: 'You are not authorized to use this command.', flags: 64 }); return; + } else if (interaction.channel.type !== 1) { + interaction.reply({ content: 'Please keep this command in DMs. It exposes a direct API key for my media server.', flags: 64 }); + return; } - const sub = interaction.options.getSubcommand(); const jelly = createClient(config.jellyfin || {});