From 024aab5f732f7995f204a00be7ee22eadfc03ec3 Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Fri, 18 Feb 2022 23:01:12 -0600 Subject: [PATCH] docs(readme.md) : fix bugged example code --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index aef6ee0..bafa967 100644 --- a/README.md +++ b/README.md @@ -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!' }; ```