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.



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





Deprecated: Function WP_Scripts::print_inline_script is deprecated since version 6.3.0! Use WP_Scripts::get_inline_script_data() or WP_Scripts::get_inline_script_tag() instead. in /www/eksidoio_182/public/wp-includes/functions.php on line 5453