Skip to content

Commit

Permalink
update: chat action from typing to record_voice
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnabXD committed Feb 12, 2022
1 parent 4b51682 commit 8271437
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/handlers/jiosaavn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const composer = new Composer();
export default composer;

composer.command(['jiosaavn', 'jsvn'], async (ctx) => {
await ctx.api.sendChatAction(ctx.chat.id, 'typing');
await ctx.api.sendChatAction(ctx.chat.id, 'record_voice');

if (ctx.chat.type === 'private')
return await ctx.reply('This Command works on Group Only');
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/play.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const composer = new Composer();
export default composer;

composer.command(['play', 'pl'], async (ctx) => {
await ctx.api.sendChatAction(ctx.chat.id, 'typing');
await ctx.api.sendChatAction(ctx.chat.id, 'record_voice');

if (ctx.chat.type === 'private')
return await ctx.reply('This Command works on Group Only');
Expand Down

0 comments on commit 8271437

Please sign in to comment.