From 4f4c4859d2205634d9e16d4e4e0f1b76d9c59edd Mon Sep 17 00:00:00 2001 From: takejohn <105504345+takejohn@users.noreply.github.com> Date: Fri, 3 May 2024 15:35:36 +0900 Subject: [PATCH] =?UTF-8?q?perms=20Feature=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 9 +++++++++ packages/perms/index.ts | 9 +++++++++ packages/perms/package.json | 12 ++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 packages/perms/index.ts create mode 100644 packages/perms/package.json diff --git a/package-lock.json b/package-lock.json index 5bbc035..83dd20e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5403,6 +5403,10 @@ "url": "https://github.com/sponsors/Borewit" } }, + "node_modules/perms": { + "resolved": "packages/perms", + "link": true + }, "node_modules/picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", @@ -6923,6 +6927,11 @@ "license": "GPL-3.0-only", "devDependencies": {} }, + "packages/perms": { + "version": "1.0.0", + "license": "GPL-3.0-only", + "devDependencies": {} + }, "packages/player": { "version": "1.0.0", "license": "GPL-3.0-only", diff --git a/packages/perms/index.ts b/packages/perms/index.ts new file mode 100644 index 0000000..d3f8aca --- /dev/null +++ b/packages/perms/index.ts @@ -0,0 +1,9 @@ +import { Feature } from 'core'; + +class PermsFeature extends Feature { + enabled: boolean = true; + + name: string = 'perms'; +} + +export const feature = new PermsFeature(); diff --git a/packages/perms/package.json b/packages/perms/package.json new file mode 100644 index 0000000..4c9df9b --- /dev/null +++ b/packages/perms/package.json @@ -0,0 +1,12 @@ +{ + "name": "perms", + "version": "1.0.0", + "description": "", + "main": "index.ts", + "devDependencies": {}, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "", + "license": "GPL-3.0-only" +}