We'd like to add certain reactions to posts that contain predefined text. Let's add a function that listens to a dictionary, set, map (whatever key value pairs are called in Rust). The function will look for the text in the keys and send a reaction with the matching value. We will be able to add reactions to the key value data structure and reuse the function
We'd like to add certain reactions to posts that contain predefined text. Let's add a function that listens to a dictionary, set, map (whatever key value pairs are called in Rust). The function will look for the text in the keys and send a reaction with the matching value. We will be able to add reactions to the key value data structure and reuse the function