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

Add support for ban_context when banning via mod button or a macro #209

Closed
eritbh opened this issue Feb 9, 2020 · 0 comments
Closed

Add support for ban_context when banning via mod button or a macro #209

eritbh opened this issue Feb 9, 2020 · 0 comments
Assignees
Milestone

Comments

@eritbh
Copy link
Member

eritbh commented Feb 9, 2020

  • Add support for ban_context in TBApi.friendUser
  • Update uses of this method in mod button and mod macros to pass context

POST [/r/:subreddit]/api/friends now takes a ban_context parameter that can be a fullname of a link or comment. This is documented here. Nobody really seems to know how long it's been there, but it shows up in the redesign bans page, so Toolbox should report the context of bans it makes to add support for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant