refactor(*): update js template

This commit is contained in:
EvolutionX
2022-06-15 12:52:55 +05:30
parent 04a3f84488
commit 80bad15e1e
5 changed files with 6 additions and 7 deletions

View File

@@ -1,2 +1 @@
cd ../node_modules
/dist
/node_modules

View File

@@ -15,7 +15,7 @@
"author": "EvolutionX",
"license": "UNLICENSED",
"dependencies": {
"@sern/handler": "^1.0.0-beta",
"@sern/handler": "^1.0.1-beta",
"discord.js": "^14.0.0-dev.1650672498-3617093"
},
"devDependencies": {

View File

@@ -1,6 +1,6 @@
const { CommandType, sernModule } = require('@sern/handler');
exports.default = sernModule([], {
module.exports = sernModule([], {
type: CommandType.Both,
description: 'A ping command',
//alias : [],

View File

@@ -1,5 +1,5 @@
import { Client, GatewayIntentBits } from 'discord.js';
import { Sern } from '@sern/handler';
const { Client, GatewayIntentBits } = require('discord.js');
const { Sern } = require('@sern/handler');
const client = new Client({
intents: [