Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 614 Bytes

learned-how-bots-that-can-reply-to-mentions-work.md

File metadata and controls

13 lines (8 loc) · 614 Bytes
  • Date : 2020-08-10
  • Tags : #bots
  • Status : For #100DaysofCode, I learned how bots that can reply to mentions work.

Learned How Bots That Can Reply to Mentions Work

I learned how bots that can reply to mentions work.

I stumbled across an example of how to do this while looking at implementations of how to send a thank you DM to a new follower.

In general, a function runs that goes through a series of if statements... if the mention includes a certain word or phrase, a specified reply is made.

Just like with TIL implementations, I came across quite a variety of bot implementations today.