best chatbot, bots, chatbot, chatbot app, chatbot online, chatbot website, chatbots, creating chatbots, games, messaging, robot chat, telegram
Building a chatbot for Angel & Mortal | by Kingston Kuan | Jun, 2021
Loading playersWhile it might be possible to use our system to generate Angel-Mortal mappings, organizers often have a more in-depth understanding of social dynamics within the group. I chose to load provided mappings from a CSV file, as opposed to using something more complex (but efficient at scale), as it was simpler for organizers to modify the data. After loading, players can be stored in a dictionary or hash map in memory, similar to an adjacency listLoading playersForwarding messagesNote: I reference parts of the python-telegram-bot API without explaining them, please refer to their tutorials for this.You might have noticed that our Player class includes a username and chat_id. The username is used to identify players and is provided by the organizers while chat_id is what is used t...

