mirror of
https://github.com/sern-handler/templates
synced 2026-06-06 01:16:58 +00:00
fix: update JS project structure to match with TS
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name": "js-example",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
@@ -16,11 +16,9 @@
|
||||
"license": "UNLICENSED",
|
||||
"dependencies": {
|
||||
"@sern/handler": "^1.0.0-beta",
|
||||
"discord.js": "^14.0.0-dev.1650672498-3617093",
|
||||
"package.json": "^2.0.1"
|
||||
"discord.js": "^14.0.0-dev.1650672498-3617093"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^17.0.25",
|
||||
"prettier": "^2.6.2"
|
||||
"@types/node": "^17.0.25"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ const client = new Client({
|
||||
Sern.init({
|
||||
client,
|
||||
defaultPrefix: '!', // removing defaultPrefix will shut down text commands
|
||||
commands: 'commands',
|
||||
commands: 'src/commands',
|
||||
});
|
||||
|
||||
client.login();
|
||||
Reference in New Issue
Block a user