dirigeants / klasa-pieces

MIT License
44 stars 55 forks source link

Check if user blocks the bot #204

Open tech6hutch opened 5 years ago

tech6hutch commented 5 years ago

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 commented 5 years ago

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.