Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from zpriddy:master #1

Open
wants to merge 67 commits into
base: master
Choose a base branch
from
Open

Conversation

pull[bot]
Copy link

@pull pull bot commented Mar 27, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

rogueresistor and others added 30 commits February 12, 2020 23:14
Update plugin to pass in config
Rename SendMessage to Webhooks
DataStoreInteractions are data that is related to a message or interaction that needs to be retrieved when a user responds to a message. 

Notes:
DataStoreInteractions will auto be retrieved using the original channel and ts of the message the user is responding to.

In most cases the response from the plugin is the json response from slack of sending a message. This data will be autolinked to the new_interaction object in the request. If there is no new_interaction set by the plugin, it will be skipped. It can also be skipped by setting request.auto_link to False. 

You can create more than one interaction entry per request, it will just have to be done manually using the functions added to the request module.

TODO:
Need to add in a function to look for all interactions that have not been followed up and that the followup_ts has passed. In these cases it should take the bot and followup_action and execute them. 

Also we may need to purge old interactions in the datastore every once in a while
@pull pull bot added the ⤵️ pull label Mar 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants