Skip to content

Commit

Permalink
chore: update plugin listing
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
jacoobes authored and github-actions[bot] committed Jul 15, 2024
1 parent 486973d commit e85e5fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pluginlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e85e5fd

Please sign in to comment.