From e85e5fd71e2433a30ccd14a748e08f34f5688bb5 Mon Sep 17 00:00:00 2001 From: jacoobes Date: Mon, 15 Jul 2024 02:59:22 +0000 Subject: [PATCH] chore: update plugin listing Signed-off-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com> --- pluginlist.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pluginlist.json b/pluginlist.json index b0996a0..4b80271 100644 --- a/pluginlist.json +++ b/pluginlist.json @@ -96,12 +96,12 @@ "version" : "1.0.0" }, { "description" : "\n\n This is perm check, it allows users to parse the permission you want and let the plugin do the rest. (check user for that perm).\n Each function (other than \"command\") allows multiple options! [ { ... }, { ... }, { ... } ] See examples!\n", - "hash" : "41ad17660561af02aff5a75558563eaf", + "hash" : "2728032537d9ec6a0d845fbcae8d7c89", "name" : "permCheck", "author" : [ "@Benzo-Fury [<@762918086349029386>]", "@Peter-MJ-Parker [<@371759410009341952>]", "@MaxiIsSlayy [<@237210568791031809>]" ], "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/plugins/permCheck.ts", "example" : "\n\n ```ts\n import { permCheck } from \"../plugins/permCheck\";\n import { commandModule } from \"@sern/handler\";\n export default commandModule({\n plugins: [ permCheck([\"Administrator\", \"AddReactions\"], \"I am a custom response!\"),\n \t\tpermCheck.options([{ name: \"user\", needAllPerms: true, perms: [\"AttachFiles\", \"CreateEvents\"]}]),\n \t\tpermCheck.subcommands([{ name: \"list\", needAllPerms: false, perms: [\"Connect\"]}]),\n \t\tpermCheck.subGroups([{ name: \"list\", needAllPerms: false, perms: [\"Connect\"], response: \"I am also a custom response!\"}])],\n execute: (ctx) => {\n \t\t//your code here\n }\n })\n ```", - "version" : "2.0.1" + "version" : "2.1.0" }, { "description" : "\n\n fromCallback turns a callback into a plugin result.\n if the callback returns truthy value, plugin continues.\n This control plugin works for every command type. The arguments of the callback\n mirror the execute method on the current module.", "hash" : "6a085373d3d240922aa1d2c5b50fadd7",