Skip to content

Commit

Permalink
fix: using types
Browse files Browse the repository at this point in the history
  • Loading branch information
JastinXyz committed Jul 9, 2024
1 parent 7690d3f commit c138e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ import { MessageType } from "@mengkodingan/ckptw";
bot.hears(MessageType.stickerMessage, async(ctx) => ctx.reply('wow, cool sticker'));

/* add react */
ctx.react(jid: string, emoji: string, key?: object);
ctx.react(jid: string, emoji: string, key?: WAProto.IMessageKey);
ctx.react(ctx.id, "👀");

/* get the bot ready at timestamp */
Expand Down

0 comments on commit c138e6c

Please sign in to comment.