Dougley / MegaBot

Discord bot that interacts with Zendesk Community
GNU Affero General Public License v3.0
1 stars 0 forks source link

Unfollow #118

Closed blastoise186 closed 5 years ago

blastoise186 commented 5 years ago

Please check the following boxes

Describe your pull request

This Pull Request is intended to create an Unfollow command, to allow users the ability to unfollow or unsubscribe from posts on Zendesk.

I borrowed the existing follow command as a base, so it should be mostly valid.

With assistance from @MoonlightCapital I've managed to get the PR to a point where it should be mostly ready, but I'm not completely sure how to grab the Subscription ID.

As such, the PR might not be ready just yet, but I think it's close.

Any thoughts?

blastoise186 commented 5 years ago

Hmm, working on this with Moon, please wait

blastoise186 commented 5 years ago

Sorry for the mess, Moon's helping me fix this.

MoonlightCapital commented 5 years ago

Finally the Travis checks passed, though I'm not sure the command will work as intended... We had no proper way to test this, as the parameters Zendesk wants to delete a subscription are kinda weird...

blastoise186 commented 5 years ago

This is about as close as I think I can get, based on how other items are written in the zendesk.js file

blastoise186 commented 5 years ago

this PR has been withdrawn and closed

blastoise186 commented 5 years ago

possibly fixes #95 by @spudpotato

Kitty-Therapist commented 5 years ago

Thank you for putting in a pull request, I appreciate that you want to help out.

However, I'm afraid that I cannot accept this pull request for several reasons:

So, here's what I am going to recommend here: