My current slack app is a slash command that will open up some dialogs with interactive buttons using my request URL.
At one point in my application I have a list of direct message channel ID's from various users that are subscribed to the slack app.
My bot so far sends messages to everyone who is on this list of "subscribed" users. I want to be able to save the message that each user sends to the bot.
How do I achieve this? I'm digging through the API but I'm having a hard time finding some kind of "listening" mechanism. I know I could just make a while true loop in python but I'm not sure how to detect when messages are sent to my Bot.