Skip to content

Commit

Permalink
Update SendMammyResponder.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
adiwajshing committed Mar 12, 2021
1 parent 75a37c4 commit a8f4681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SendMammyResponder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const createSendMammyResponder = (processor: LanguageProcessor, metadata:
quotedID: quoted?.key.id, // quote the message
withTyping: true, // send with typing indicator
randomizeMessage: false,
tag: new Date().toString() + Math.floor(Math.random()*1000).toString() // ensures the message is only sent out once
tag: Date.now().toString() + Math.floor(Math.random()*100).toString() // ensures the message is only sent out once
}),
headers: {
'authorization': `Bearer ${token}`,
Expand Down

0 comments on commit a8f4681

Please sign in to comment.