-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3084bbd
commit bcbd184
Showing
10 changed files
with
146 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,6 @@ dist | |
README.md | ||
pnpm-lock.yaml | ||
|
||
package.json | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,58 @@ | ||
{ | ||
"name": "commandkit", | ||
"description": "Beginner friendly command & event handler for Discord.js", | ||
"version": "0.1.6", | ||
"license": "MIT", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"bin": "./bin/index.mjs", | ||
"exports": { | ||
".": { | ||
"require": "./dist/index.js", | ||
"import": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts" | ||
"name": "commandkit", | ||
"description": "Beginner friendly command & event handler for Discord.js", | ||
"version": "0.1.6", | ||
"license": "MIT", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"bin": "./bin/index.mjs", | ||
"exports": { | ||
".": { | ||
"require": "./dist/index.js", | ||
"import": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts" | ||
} | ||
}, | ||
"files": [ | ||
"dist", | ||
"bin" | ||
], | ||
"scripts": { | ||
"lint": "tsc", | ||
"dev": "tsup --watch", | ||
"build": "tsup", | ||
"deploy": "npm publish", | ||
"deploy-dev": "npm publish --access public --tag dev", | ||
"test": "cd ./tests && node ../bin/index.mjs dev", | ||
"test:build": "cd ./tests && node ../bin/index.mjs build", | ||
"test:prod": "cd ./tests && node ../bin/index.mjs start" | ||
}, | ||
"repository": { | ||
"url": "git+https://github.com/underctrl-io/commandkit.git" | ||
}, | ||
"homepage": "https://commandkit.js.org", | ||
"keywords": [ | ||
"discord.js", | ||
"command handler", | ||
"event handler" | ||
], | ||
"dependencies": { | ||
"commander": "^11.1.0", | ||
"ora": "^7.0.1", | ||
"rfdc": "^1.3.0", | ||
"rimraf": "^5.0.5", | ||
"tsup": "^7.2.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.5.9", | ||
"discord.js": "^14.13.0", | ||
"dotenv": "^16.3.1", | ||
"tsconfig": "workspace:*", | ||
"tsx": "^3.12.8", | ||
"typescript": "^5.1.6" | ||
}, | ||
"peerDependencies": { | ||
"discord.js": "^14" | ||
} | ||
}, | ||
"files": [ | ||
"dist", | ||
"bin" | ||
], | ||
"scripts": { | ||
"lint": "tsc", | ||
"dev": "tsup --watch", | ||
"build": "tsup", | ||
"deploy": "npm publish", | ||
"deploy-dev": "npm publish --access public --tag dev", | ||
"test": "cd ./tests && node ../bin/index.mjs dev", | ||
"test:build": "cd ./tests && node ../bin/index.mjs build", | ||
"test:prod": "cd ./tests && node ../bin/index.mjs start" | ||
}, | ||
"repository": { | ||
"url": "git+https://github.com/underctrl-io/commandkit.git" | ||
}, | ||
"homepage": "https://commandkit.js.org", | ||
"keywords": [ | ||
"discord.js", | ||
"command handler", | ||
"event handler" | ||
], | ||
"dependencies": { | ||
"commander": "^11.1.0", | ||
"ora": "^7.0.1", | ||
"rfdc": "^1.3.0", | ||
"rimraf": "^5.0.5", | ||
"tsup": "^7.2.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.5.9", | ||
"discord.js": "^14.13.0", | ||
"dotenv": "^16.3.1", | ||
"tsconfig": "workspace:*", | ||
"tsx": "^3.12.8", | ||
"typescript": "^5.1.6" | ||
}, | ||
"peerDependencies": { | ||
"discord.js": "^14" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
packages/commandkit/src/handlers/command-handler/CommandHandler.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
packages/commandkit/src/handlers/command-handler/validations/guildOnly.ts
This file was deleted.
Oops, something went wrong.
3 changes: 1 addition & 2 deletions
3
packages/commandkit/src/handlers/command-handler/validations/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import devOnly from './devOnly'; | ||
import guildOnly from './guildOnly'; | ||
import permissions from './permissions'; | ||
|
||
export default [devOnly, guildOnly, permissions]; | ||
export default [devOnly, permissions]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.