From 848d607b60272bdab2ac5dd38abb361314e1f700 Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Tue, 5 Jul 2022 22:17:33 -0500 Subject: [PATCH] fix(ts): ctx.reply to string only (#10) --- templates/typescript/src/commands/ping.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/typescript/src/commands/ping.ts b/templates/typescript/src/commands/ping.ts index a65644f..18a7d3a 100644 --- a/templates/typescript/src/commands/ping.ts +++ b/templates/typescript/src/commands/ping.ts @@ -6,6 +6,6 @@ export default commandModule({ description: 'A ping command', //alias : [], execute: async (ctx, args) => { - await ctx.reply({ content: 'Pong 🏓' }); + await ctx.reply('Pong 🏓'); }, });