36 Commits

Author SHA1 Message Date
Jonah Lawrence
d7b6a2ad12
Fix usage of single backticks to links and code-blocks 2022-10-26 04:26:56 -04:00
GoogleGenius
eea70b53cd
Fix small typos in docstrings 2022-07-11 00:05:09 -04:00
z03h
1aaa32d4bc
Add on_raw_app_command_permissions_update event 2022-07-10 04:00:26 -04:00
Enes Kurbetoğlu
be6db20255
Add on_raw_thread_member_remove event 2022-06-09 01:58:50 -04:00
Enes Kurbetoğlu
06c1f44d74
Add on_raw_thread_update event 2022-06-03 04:49:32 -04:00
Rapptz
cf031f71b9 Add a new extlink for discord documentation 2022-05-27 04:05:01 -04:00
Lilly Rose Berner
6e2cfff2ac
Add raw member remove event 2022-04-27 22:08:04 -04:00
Lilly Rose Berner
277d35c9b2
Add raw typing event and fix typing event not working for DMs 2022-04-23 22:25:07 -04:00
Lilly Rose Berner
3e8fa5a661
Add raw thread delete event 2022-04-22 00:42:39 -04:00
Nadir Chowdhury
3cf000d467
Type up gateway payloads 2022-02-21 22:09:40 -05:00
Rapptz
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
Stocker
6587b5c7ea
Typehint raw_models.py 2021-08-18 00:23:16 -04:00
Nadir Chowdhury
ab6d592f8c
Add support for integration create/update/delete events 2021-06-07 03:28:26 -04:00
Nadir Chowdhury
89456022cf
Add __all__ to remaining modules 2021-04-07 02:30:32 -04:00
Rapptz
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
Sebastian Law
a2730a32dc
Add guild_id attribute to RawMessageUpdateEvent 2021-02-28 23:55:37 -05:00
ChristopherJHart
050bf74f5d
Clarify on_raw_message_edit cached message nature 2021-01-18 04:55:59 -05:00
Nihaal Sangha
69bdc3a184
Change copyright year to present 2021-01-15 05:28:11 -05:00
Zomatree
fbd57a63ab
update the docs on RawReactionActionEvent.member 2020-08-22 16:25:25 -04:00
Rapptz
66c6be50d8 Prepare for the discord.com domain rename 2020-05-23 21:44:30 -04:00
Harmon
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
Rapptz
02397306b2 Drop superfluous zero in version related changes in the documentation 2020-01-21 03:47:56 -05:00
Rapptz
6071607176 Bump copyright year to 2020
Closes #2510
2020-01-19 20:03:00 -05:00
Rapptz
87f9dcff9c Add support for clearing a specific reaction.
Closes #2440
2020-01-17 19:53:28 -05:00
NCPlayz
bb71f14ce3 Add RawReactionActionEvent.member 2019-12-17 23:59:59 -05:00
Rapptz
f513d831d1 Add RawReactionActionEvent.event_type attribute.
This helps differentiate between reaction removal or addition.
2019-08-11 19:11:22 -04:00
Rapptz
ceaba01776 Add version information from missing PRs. 2019-08-11 19:04:39 -04:00
Heath123
2c99198033 Add channel_id to RawMessageUpdateEvent 2019-08-11 18:54:25 -04:00
NCPlayz
3c9bcc2851 Improve documentation 2019-06-07 19:27:46 -04:00
Rapptz
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
Vexs
82a39eb148 Add cached_message to on_raw_message_edit event
Also add documentation for this behavior
2019-05-09 05:53:56 -04:00
Vexs
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
Dante Dam
9656a21ebe Bumped copyright years to 2019. 2019-01-28 22:22:50 -05:00
MusicOnline
85b5286056 Fix user/user_id documentation for reaction remove events 2019-01-28 22:22:44 -05:00
Hornwitser
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
Rapptz
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