FriendCloud: Fully Remove V1

This commit is contained in:
thororen1234 2025-06-16 20:20:26 -04:00
parent 6264da3649
commit e2be554848
No known key found for this signature in database

View file

@ -64,17 +64,10 @@ export default definePlugin({
description: "Number of users to display", description: "Number of users to display",
type: ApplicationCommandOptionType.NUMBER, type: ApplicationCommandOptionType.NUMBER,
required: false required: false
},
{
name: "algorithm",
description: "Use the old algorithm (v1) to calculate affinity",
type: ApplicationCommandOptionType.BOOLEAN,
required: false
} }
], ],
execute: async (opts, cmdCtx) => { execute: async (opts, cmdCtx) => {
const count = findOption(opts, "count", 25); const count = findOption(opts, "count", 25);
const useV1 = findOption(opts, "algorithm", false);
if (!count) return sendBotMessage(cmdCtx.channel.id, { content: "The count must be 1 or higher!" }); if (!count) return sendBotMessage(cmdCtx.channel.id, { content: "The count must be 1 or higher!" });