mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
feat: fix duplicate
This commit is contained in:
10
README.md
10
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user