feat: fix duplicate

This commit is contained in:
Jacob Nguyen
2022-08-14 12:54:28 -05:00
parent 3dec347ef0
commit c5bd94131d

View File

@@ -81,16 +81,6 @@ exports.default = commandModule({
ctx.reply('pong!');
}
});
const { Sern, CommandType } = require('@sern/handler');
exports.default = commandModule({
description: 'A ping pong command',
type: CommandType.Slash,
execute(ctx) {
ctx.reply('pong!');
}
});
```
See our [templates](https://github.com/sern-handler/templates) for TypeScript examples and more