mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-29 16:34:25 -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",
|
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!" });
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue