mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
docs(readme.md) : fix bugged example code
This commit is contained in:
@@ -64,9 +64,7 @@ export default {
|
||||
visibility : 'private',
|
||||
test : false,
|
||||
type: Sern.CommandType.SLASH | Sern.CommandType.TEXT,
|
||||
execute : async ({ message, interaction }, args) => {
|
||||
interaction.reply({ content: 'Pong! });
|
||||
}
|
||||
execute : async ({ message, interaction }, args) => 'pong!'
|
||||
};
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user