Skip to content

Commit

Permalink
Merge pull request #257 from PerStirpes/patch-1
Browse files Browse the repository at this point in the history
Fix Calling the Web API doc
  • Loading branch information
Shane DeWael authored Sep 25, 2019
2 parents 6770f70 + 70883c0 commit f8eec23
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ app.message('happy', async ({ message, context }) => {
const result = await app.client.reactions.add({
// Use token from context
token: context.botToken,
name: ':grinning:',
channel: message.channel_id
name: 'grinning',
channel: message.channel,
timestamp: message.ts
});
console.log(result);
} catch (error) {
Expand Down

0 comments on commit f8eec23

Please sign in to comment.