Skip to content
This repository was archived by the owner on Jun 11, 2023. It is now read-only.

Commit

Permalink
fix(ts): ctx.reply to string only (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoobes authored Jul 6, 2022
1 parent cbfb455 commit 848d607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/typescript/src/commands/ping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 🏓');
},
});

0 comments on commit 848d607

Please sign in to comment.