mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-28 16:04:24 -04:00
FriendCloud: Fully Remove V1
This commit is contained in:
parent
6264da3649
commit
e2be554848
1 changed files with 0 additions and 7 deletions
|
@ -64,17 +64,10 @@ export default definePlugin({
|
|||
description: "Number of users to display",
|
||||
type: ApplicationCommandOptionType.NUMBER,
|
||||
required: false
|
||||
},
|
||||
{
|
||||
name: "algorithm",
|
||||
description: "Use the old algorithm (v1) to calculate affinity",
|
||||
type: ApplicationCommandOptionType.BOOLEAN,
|
||||
required: false
|
||||
}
|
||||
],
|
||||
execute: async (opts, cmdCtx) => {
|
||||
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!" });
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue