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

Bot comments should be deleted when its parent is deleted #9

Open
rnevius opened this issue Jun 2, 2020 · 1 comment
Open

Bot comments should be deleted when its parent is deleted #9

rnevius opened this issue Jun 2, 2020 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@rnevius
Copy link

rnevius commented Jun 2, 2020

Describe the bug

If VimHelpBot's parent comment is deleted, VimHelpBot's comment should self-destruct.

To Reproduce

Write a comment with :help help. Delete the comment after VimHelpBot replies.

Expected behavior

Deleting a user comment should also result in VimHelpBot's comment being removed.

Screenshots

image

Additional context

https://www.reddit.com/r/vim/comments/gv52h0/is_it_possible_to_create_temporary_keybindings/fsmgu1d/

@rnevius rnevius added the bug Something isn't working label Jun 2, 2020
@heraldofsolace
Copy link
Owner

Hmm. I do not know if Praw lets me know when a comment has been deleted or not. There are two ways I can think of -

  1. Periodically check if each replied comment is deleted or not. But as the number of replied comments grows this will be troublesome.
  2. Show a link on each post which can only be triggered by the author of the comment that will delete the bot's comment.

I'll keep this open in case I find a way or someone can help.

@heraldofsolace heraldofsolace added the help wanted Extra attention is needed label Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants