From 3209855beb8a5f2572c1b7d9e85d7e45ab52c23e Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Tue, 7 May 2019 10:11:39 +0200 Subject: [PATCH] Update listening_events.md --- docs/_basic/listening_events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_basic/listening_events.md b/docs/_basic/listening_events.md index 31a7f4aff..b2c5b3da9 100644 --- a/docs/_basic/listening_events.md +++ b/docs/_basic/listening_events.md @@ -13,7 +13,7 @@ The `event()` method requires an `eventType` of type string. ```javascript const welcomeChannelId = 'C12345'; -// When a user joins the team, send a message in a predfined channel asking them to introduce themselves +// When a user joins the team, send a message in a predefined channel asking them to introduce themselves app.event('team_join', async ({ event, context }) => { try { const result = await app.client.chat.postMessage({