Question about chatbots in a group-chat in Whatsapp [Warzone stats bot]

Hi guys,

Together with a few friends we like to play Call of duty Warzone.

We’re in a whatsapp group-chat together were we sent messages/images of when we have a win. (77 at the time of writing 🙂 ) I have an idea to make a chatbot that automatically sends a message with the stats of the match/player when there is a win or when a command gets send.

This seems possible since the api stats of warzone is reachable.

What I did so far:

I successfully made a chatbot with Twilio and python where I can sent a message and get a response, still a dummy respons, but it works!

However, where I am stuck is if I want to add that chatbot to the groups chat of the clan. This is the part where the number that Twilio gave me will not enter the groups chat.

Where I need help:

Is it possible to add a bot to a groups-chat? and if so, how can I do that? I’ve looked into possibilities with the Whatsapp Business API, but since it’s just a hobby project I am not sure if thats the right way. Because I think that requires setting up a new number (and paying) specific for the chatbot.

I hope to find ideas on how I can take this chatbot warzone idea further.

Any help is greatly appreciated.

Best,

Thijs

submitted by /u/Mysterious-Test-4590
[link] [comments]


Posted

in

by

Tags: