Added on_raw_typing event #47

Merged
Astrea49 merged 1 commits from 2.0 into 2.0 2021-09-02 20:34:39 +00:00
Astrea49 commented 2021-09-01 21:00:43 +00:00 (Migrated from github.com)

Summary

Adds in an on_raw_typing event. This may be useful if the typing starts in a DM, as otherwise, d.py is unable to resolve the user and so unable to dispatch an on_typing event.
Suggesting this was my first major PR here (kinda, I did one before but that was more minor), feel free to check and review over it.
I'll test it myself in a bit, but it should work fine, just am rather busy (EDIT: seems to work fine).
Fixes #7432.

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)
## Summary Adds in an `on_raw_typing` event. This may be useful if the typing starts in a DM, as otherwise, d.py is unable to resolve the user and so unable to dispatch an `on_typing` event. Suggesting this was my first major PR here (kinda, I did one before but that was more minor), feel free to check and review over it. I'll test it myself in a bit, but it *should* work fine, just am rather busy (EDIT: seems to work fine). Fixes [#7432](https://github.com/Rapptz/discord.py/issues/7432). ## Checklist <!-- Put an x inside [ ] to check it, like so: [x] --> - [x] If code changes were made then they have been tested. - [x] I have updated the documentation to reflect the changes. - [x] This PR fixes an issue. - [x] This PR adds something new (e.g. new method or parameters). - [ ] This PR is a breaking change (e.g. methods or parameters removed/renamed) - [ ] This PR is **not** a code change (e.g. documentation, README, ...)
IAmTomahawkx commented 2021-09-02 20:34:32 +00:00 (Migrated from github.com)

LGTM

LGTM
Sign in to join this conversation.
No description provided.