From f0cd650de90480582d8a7e311fd844cd64e243aa Mon Sep 17 00:00:00 2001 From: jacoobes Date: Sun, 19 Feb 2023 03:55:09 +0000 Subject: [PATCH] chore: update JavaScript plugins --- JavaScript/buttonConfirmation.js | 2 +- pluginlist.json | 190 ++++++++++++++++++------------- 2 files changed, 110 insertions(+), 82 deletions(-) diff --git a/JavaScript/buttonConfirmation.js b/JavaScript/buttonConfirmation.js index afd925e..d8b4b3e 100644 --- a/JavaScript/buttonConfirmation.js +++ b/JavaScript/buttonConfirmation.js @@ -26,7 +26,7 @@ import { ButtonStyle, ComponentType, } from "discord.js"; -export function confirmation(options) { +export function buttonConfirmation(options) { return CommandControlPlugin(async (ctx, args) => { options = { content: "Do you want to proceed?", diff --git a/pluginlist.json b/pluginlist.json index 398adf7..d3e3003 100644 --- a/pluginlist.json +++ b/pluginlist.json @@ -1,82 +1,110 @@ { - "JavaScript" : [ { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/publish.js", - "name" : "publish" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/buttonConfirmation.js", - "name" : "buttonConfirmation" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/requirePermission.js", - "name" : "requirePermission" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/nsfwOnly.js", - "name" : "nsfwOnly" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/serverOnly.js", - "name" : "serverOnly" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/ownerOnly.js", - "name" : "ownerOnly" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/confirmation.js", - "name" : "confirmation" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/permCheck.js", - "name" : "permCheck" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/dmOnly.js", - "name" : "dmOnly" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/disable.js", - "name" : "disable" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/channelType.js", - "name" : "channelType" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/assertFields.js", - "name" : "assertFields" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/cooldown.js", - "name" : "cooldown" - } ], - "TypeScript" : [ { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/permCheck.ts", - "name" : "permCheck" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/assertFields.ts", - "name" : "assertFields" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/serverOnly.ts", - "name" : "serverOnly" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/dmOnly.ts", - "name" : "dmOnly" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/disable.ts", - "name" : "disable" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/publish.ts", - "name" : "publish" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/cooldown.ts", - "name" : "cooldown" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/confirmation.ts", - "name" : "confirmation" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/ownerOnly.ts", - "name" : "ownerOnly" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/channelType.ts", - "name" : "channelType" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/nsfwOnly.ts", - "name" : "nsfwOnly" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/requirePermission.ts", - "name" : "requirePermission" - }, { - "link" : "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/buttonConfirmation.ts", - "name" : "buttonConfirmation" - } ] -} \ No newline at end of file + "JavaScript": [ + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/publish.js", + "name": "publish" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/buttonConfirmation.js", + "name": "buttonConfirmation" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/requirePermission.js", + "name": "requirePermission" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/nsfwOnly.js", + "name": "nsfwOnly" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/serverOnly.js", + "name": "serverOnly" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/ownerOnly.js", + "name": "ownerOnly" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/confirmation.js", + "name": "confirmation" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/permCheck.js", + "name": "permCheck" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/dmOnly.js", + "name": "dmOnly" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/disable.js", + "name": "disable" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/channelType.js", + "name": "channelType" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/assertFields.js", + "name": "assertFields" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/JavaScript/cooldown.js", + "name": "cooldown" + } + ], + "TypeScript": [ + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/permCheck.ts", + "name": "permCheck" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/assertFields.ts", + "name": "assertFields" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/serverOnly.ts", + "name": "serverOnly" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/dmOnly.ts", + "name": "dmOnly" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/disable.ts", + "name": "disable" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/publish.ts", + "name": "publish" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/cooldown.ts", + "name": "cooldown" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/confirmation.ts", + "name": "confirmation" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/ownerOnly.ts", + "name": "ownerOnly" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/channelType.ts", + "name": "channelType" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/nsfwOnly.ts", + "name": "nsfwOnly" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/requirePermission.ts", + "name": "requirePermission" + }, + { + "link": "https://raw.githubusercontent.com/sern-handler/awesome-plugins/main/TypeScript/buttonConfirmation.ts", + "name": "buttonConfirmation" + } + ] +}