docs(readme.md) : fix bugged example code

This commit is contained in:
Jacob Nguyen
2022-02-18 23:01:12 -06:00
committed by GitHub
parent 9a8883e7ce
commit 024aab5f73

View File

@@ -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! });
}
}; };
``` ```