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

Check if user is blocked in ?contact or react to contact #3027

Merged
merged 1 commit into from
May 24, 2021

Conversation

Jerrie-Aries
Copy link
Contributor

About this PR:

  • Checks if user is blocked when ?contact command or react to contact is used.
  • Fix issue as mentioned here.

In bot.py:

  • Add method handle_react_to_contact.
  • Use await asyncio.gather(*tasks) in on_raw_reaction_add.

- Checks if user is blocked when `?contact` command or react to contact is used.
@fourjr fourjr changed the title Improve contact and react to contact: Checks is user is blocked in ?contact or react to contact May 24, 2021
@fourjr fourjr changed the title Checks is user is blocked in ?contact or react to contact Checks is user is blocked in ?contact or react to contact May 24, 2021
@fourjr fourjr changed the title Checks is user is blocked in ?contact or react to contact Check if user is blocked in ?contact or react to contact May 24, 2021
@fourjr fourjr added the staged Staged for next version label May 24, 2021
@fourjr fourjr merged commit 3b8b662 into modmail-dev:development May 24, 2021
@Jerrie-Aries Jerrie-Aries deleted the dev-02 branch June 23, 2021 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
staged Staged for next version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants