Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DonnieBLT authored Mar 22, 2024
1 parent 284291b commit 36a6b38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def handle_member_joined_channel(event_data):
event = event_data["event"]
user_id = event["user"]
channel_id = event["channel"]
client.chat_postMessage(channel='#trying_bot', text=f"Welcome <@{user_id}> to the <@{channel_id}> channel!")
client.chat_postMessage(channel='#trying_bot', text=f"Welcome <@{user_id}> to the <#{channel_id}> channel!")


@slack_events_adapter.on("message")
def handle_message(payload):
Expand Down

0 comments on commit 36a6b38

Please sign in to comment.