This adds a new Slack command, @Blossom unclaim <reddit_url>, which will forcably unclaim the given submission from the user.
It is confirmed that the submission is claimed (and not completed), then a message is sent in response. It contains the submission title, subreddit and the user to unclaim from, as well as two buttons to either confirm or cancel the action.
When confirmed, the submission is silently unclaimed from the user and the Slack message updated in confirmation.
NOTE: This introduces a new UNCLAIM_REDDIT_FLAIR_ID env variable that needs to be set.
Relevant issue: Closes #417
Description:
This adds a new Slack command,
@Blossom unclaim <reddit_url>
, which will forcably unclaim the given submission from the user.It is confirmed that the submission is claimed (and not completed), then a message is sent in response. It contains the submission title, subreddit and the user to unclaim from, as well as two buttons to either confirm or cancel the action. When confirmed, the submission is silently unclaimed from the user and the Slack message updated in confirmation.
NOTE: This introduces a new
UNCLAIM_REDDIT_FLAIR_ID
env variable that needs to be set.Checklist: