diff --git a/package.json b/package.json index e534bdb..d8925ab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sern/create-bot", - "version": "1.2.4", + "version": "1.2.5", "main": "./dist/index.js", "license": "MIT", "scripts": { diff --git a/template-js-esm/src/commands/ping.js b/template-js-esm/src/commands/ping.js index b127fce..6f2d40b 100644 --- a/template-js-esm/src/commands/ping.js +++ b/template-js-esm/src/commands/ping.js @@ -1,4 +1,4 @@ -const { CommandType, commandModule } = require('@sern/handler'); +import { CommandType, commandModule } from '@sern/handler'; export default commandModule({ type: CommandType.Both,