Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

Check if user blocks the bot #204

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

Check if user blocks the bot #204

wants to merge 7 commits into from

Conversation

tech6hutch
Copy link
Contributor

@tech6hutch tech6hutch commented May 25, 2019

It works by finding a message by them and trying to react to it. It returns true, false, or undefined. undefined means that it couldn't figure out if the user blocked or not.

@tech6hutch
Copy link
Contributor Author

Open question: should the reaction be removed after adding it? Currently, for DMs it reacts and then unreacts, and for guild messages it reacts and leaves the reaction.

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

Successfully merging this pull request may close these issues.

1 participant