8953938a53
Update Pyright to v1.1.394
2025-02-18 03:29:09 -05:00
418a7915e6
Add raw presence update evemt
2025-01-21 04:49:50 -05:00
ed95f2f106
Parse full message for raw message edit event
2025-01-15 18:25:57 -05:00
f77ba711ba
Add reaction type to raw events and users iterator
2024-05-18 14:33:26 -04:00
e43bd8692c
Add support for Polls
...
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com >
Co-authored-by: Josh <8677174+bijij@users.noreply.github.com >
Co-authored-by: Trevor Flahardy <75498301+trevorflahardy@users.noreply.github.com >
2024-05-10 06:14:12 -04:00
0ee1794c6d
Fix channel deletion not removing associated threads
2024-05-04 23:23:59 -04:00
0362b2fd4e
[docs] fix gateway payload hyperlinks
2024-04-18 03:38:31 -04:00
97ae6409b0
Add support for burst reactions
2023-09-19 00:06:10 -04:00
b1ff8038c8
Add RawReactionActionEvent.message_author_id field
2023-07-13 22:08:41 -04:00
d7b6a2ad12
Fix usage of single backticks to links and code-blocks
2022-10-26 04:26:56 -04:00
eea70b53cd
Fix small typos in docstrings
2022-07-11 00:05:09 -04:00
1aaa32d4bc
Add on_raw_app_command_permissions_update event
2022-07-10 04:00:26 -04:00
be6db20255
Add on_raw_thread_member_remove event
2022-06-09 01:58:50 -04:00
06c1f44d74
Add on_raw_thread_update event
2022-06-03 04:49:32 -04:00
cf031f71b9
Add a new extlink for discord documentation
2022-05-27 04:05:01 -04:00
6e2cfff2ac
Add raw member remove event
2022-04-27 22:08:04 -04:00
277d35c9b2
Add raw typing event and fix typing event not working for DMs
2022-04-23 22:25:07 -04:00
3e8fa5a661
Add raw thread delete event
2022-04-22 00:42:39 -04:00
3cf000d467
Type up gateway payloads
2022-02-21 22:09:40 -05:00
88b520b5ab
Reformat code using black
...
Segments where readability was hampered were fixed by appropriate
format skipping directives. New code should hopefully be black
compatible. The moment they remove the -S option is probably the moment
I stop using black though.
2022-02-20 08:04:58 -05:00
6587b5c7ea
Typehint raw_models.py
2021-08-18 00:23:16 -04:00
ab6d592f8c
Add support for integration create/update/delete events
2021-06-07 03:28:26 -04:00
89456022cf
Add __all__
to remaining modules
2021-04-07 02:30:32 -04:00
9d39b135f4
Modernize code to use f-strings
...
This also removes the encoding on the top, since Python 3 does it by
default. It also changes some methods to use `yield from`.
2021-04-04 07:03:53 -04:00
a2730a32dc
Add guild_id attribute to RawMessageUpdateEvent
2021-02-28 23:55:37 -05:00
050bf74f5d
Clarify on_raw_message_edit cached message nature
2021-01-18 04:55:59 -05:00
69bdc3a184
Change copyright year to present
2021-01-15 05:28:11 -05:00
fbd57a63ab
update the docs on RawReactionActionEvent.member
2020-08-22 16:25:25 -04:00
66c6be50d8
Prepare for the discord.com domain rename
2020-05-23 21:44:30 -04:00
6f9793fe5e
Fixes and improvements for v1.3 documentation
...
* Add missing versionadded strings for v1.3
* Add missing versionchanged string for Message.edit
* Consistently use versionadded for attributes
* Consistently use versionchanged for parameters
* Use versionchanged for Bot.is_owner
* Fix references in v1.3 changelog
* Improve grammar in v1.3 changelog
2020-01-22 23:55:05 -05:00
02397306b2
Drop superfluous zero in version related changes in the documentation
2020-01-21 03:47:56 -05:00
6071607176
Bump copyright year to 2020
...
Closes #2510
2020-01-19 20:03:00 -05:00
87f9dcff9c
Add support for clearing a specific reaction.
...
Closes #2440
2020-01-17 19:53:28 -05:00
bb71f14ce3
Add RawReactionActionEvent.member
2019-12-17 23:59:59 -05:00
f513d831d1
Add RawReactionActionEvent.event_type attribute.
...
This helps differentiate between reaction removal or addition.
2019-08-11 19:11:22 -04:00
ceaba01776
Add version information from missing PRs.
2019-08-11 19:04:39 -04:00
2c99198033
Add channel_id to RawMessageUpdateEvent
2019-08-11 18:54:25 -04:00
3c9bcc2851
Improve documentation
2019-06-07 19:27:46 -04:00
2cd6d771ec
Make __repr__ slightly more detailed and add a few missing ones.
...
This includes raw events (which didn't have any) and a few other
types that were missing them. Upon review some more useful fields were
added to the repr output which would be more useful during debugging.
2019-05-26 02:32:47 -04:00
82a39eb148
Add cached_message to on_raw_message_edit event
...
Also add documentation for this behavior
2019-05-09 05:53:56 -04:00
9591b00dcf
Redesign bulk delete events
...
Change `parse_message_delete_bulk` to not dispatch individual
`message_delete` events, and instead `bulk_message_delete`. Also make
`raw_bulk_message` delete and `raw_message_delete` have message
objects attached.
Fixes #1807
2019-04-06 19:18:06 -04:00
9656a21ebe
Bumped copyright years to 2019.
2019-01-28 22:22:50 -05:00
85b5286056
Fix user/user_id documentation for reaction remove events
2019-01-28 22:22:44 -05:00
c8b49d37be
[lint] Fix incorrect and inconsistent whitespace
...
Adjust whitespace to be consistent with the rest of the library.
2018-08-22 21:43:53 -04:00
56650ae7c2
Change raw events to use slotted data models instead of parameters.
...
This allows for internal changes in Discord to not cause a breaking
change every time something changes.
Also implements #1214 which adds guild_id to every event where
applicable.
This is a breaking change.
2018-04-14 02:23:38 -04:00