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',
|
visibility : 'private',
|
||||||
test : false,
|
test : false,
|
||||||
type: Sern.CommandType.SLASH | Sern.CommandType.TEXT,
|
type: Sern.CommandType.SLASH | Sern.CommandType.TEXT,
|
||||||
execute : async ({ message, interaction }, args) => {
|
execute : async ({ message, interaction }, args) => 'pong!'
|
||||||
interaction.reply({ content: 'Pong! });
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user