twitterbotsample icon indicating copy to clipboard operation
twitterbotsample copied to clipboard

Respond to different hastags

Open Sandrodc opened this issue 5 years ago • 1 comments

If I wanted to make my bot respond differently to multiple hastags, how would I have to write that?

Example: Tweet 1: "#A" Response 1 "this is A"

Tweet 2: "#B" Response 2: "this is B"

Sandrodc avatar Apr 07 '20 19:04 Sandrodc

You can do this by using multiple if-else if cases or switch cases. Further you can check out my repository, I've made a bot inspired by ykdojo's but with more features :)

Kanishk-Srivastava avatar Jul 09 '20 06:07 Kanishk-Srivastava