Rapptz
98570793e4
Add initial support for buttons and components
2021-05-27 00:53:13 -04:00
Stanisław Jelnicki
67aabc3230
Remove VerificationLevel aliases
2021-05-25 20:51:08 -04:00
Stanisław Jelnicki
65439732b3
Add Discord Certified Moderator user flag
2021-05-23 05:07:33 -04:00
Nadir Chowdhury
f87eaa613d
[docs] typo fix
2021-05-23 03:47:16 -04:00
ChasL
9d114fb066
Fix for doc reference to python "raise" statement
...
:ref:`py:raise` -> :ref:`raise statement <py:raise>`
Before fix the text reads: "...define an on_error handler consisting
of a single empty The raise statement." After fix it should read:
"...define an on_error handler consisting of a single empty raise
statement."
2021-05-15 02:06:50 -04:00
Stanisław Jelnicki
9b4e820bbe
Document Invite.inviter as optional
2021-05-12 20:34:44 -04:00
Josh
3864fb37a0
Fix various reference issues in documentation
...
Co-Authored-By: Riley Shaw <30989490+ShineyDev@users.noreply.github.com>
2021-05-06 07:51:07 -04:00
Nadir Chowdhury
51df7496db
Add AuditLogChanges.rules_channel/public_updates_channel
2021-05-01 06:47:22 -04:00
Josh
3c2674725a
Add as_chunks helper function
2021-04-25 23:36:03 -04:00
Nadir Chowdhury
1765cdffb1
Use Asset for AuditLogChanges and add more entries
2021-04-25 09:53:38 -04:00
Josh
368fda7272
Remove HypesquadHouse enum from docs
2021-04-25 04:35:45 -04:00
sudosnok
67abfea61a
Add target_user and target_type to Invite objects
2021-04-21 23:30:35 -04:00
Nadir Chowdhury
95777230b0
Add MessageType.guild_invite_reminder
2021-04-18 20:33:56 -04:00
Nadir Chowdhury
631a0b1e13
Add support for ApplicationFlags
2021-04-18 20:32:52 -04:00
Nadir Chowdhury
821b6c61cb
[docs] document inherited members on Asset
2021-04-17 23:40:13 -04:00
Rapptz
fdf81089b5
Add inherited members to (Partial)Emoji docs
2021-04-17 19:40:40 -04:00
z03h
304229071f
Add VoiceChannel.video_quality_mode
2021-04-17 08:10:41 -04:00
Rapptz
a6f7213c89
Rewrite webhooks to play better with typings and rate limits
...
This unfortunately required splitting the types into two. This led to
a lot of unfortunate code duplication that I didn't really enjoy
writing.
The new design allows users to pass an authentication token to make
webhook requests without the webhook token and allows to finally
edit the webhook channel.
The new design also uses a contextvar to store rate limiting
information so multiple instances or recreating instances no longer
clears the ratelimiting state since it's now essentially a "global"
object.
Closes #6525 , closes #6662 , closes #2509 , closes #1761
2021-04-15 08:04:32 -04:00
Nadir Chowdhury
f1fac96e33
Remove private_channel_(delete/create)
events
2021-04-11 15:13:23 -04:00
NCPlayz
4c565e5299
add reply and application_command types
2021-04-11 00:39:13 -04:00
jack1142
4591705b55
Add missing attribute tables
2021-04-10 03:42:42 -04:00
Rapptz
a9d5c0aa3b
Fix headers in partial webhook channel and guild objects
2021-04-07 06:37:09 -04:00
Zomatree
ad68a1d04e
Add source_channel and source_guild to Webhook
2021-04-06 23:31:18 -04:00
Rapptz
8cece19b22
Add on_interaction event and Interaction class.
...
This is the first pass at the functionality. It's currently a bit
incomplete.
2021-04-06 01:11:36 -04:00
Rapptz
a3a6f88936
Add discord.utils.utcnow() helper function to ease migration
2021-04-04 23:59:04 -04:00
Rapptz
ff7094ce96
Convert datetimes to aware datetimes with UTC.
...
Naive datetimes will now be interpreted as local time throughout
the library.
2021-04-04 23:54:08 -04:00
Rapptz
fd58371f53
Remove some lingering userbot classes in the documentation
2021-04-04 20:05:19 -04:00
James
34ab772653
Use typing.Protocol instead of abc.ABCMeta
2021-04-04 18:05:49 -04:00
Rapptz
54288879e2
Remove userbot functionality
...
This has a lot of legacy and cruft so there may be some stuff I've
missed but this first pass is enough to get a clear separation.
2021-04-04 10:15:30 -04:00
Rapptz
6d63cf0d5d
Add missing StoreChannel documentation
2021-04-04 00:17:59 -04:00
Nadir Chowdhury
1b2688518e
Implement StageChannel and related methods
2021-04-03 22:43:41 -04:00
Nadir Chowdhury
6887d3946a
[docs] Fix fetch_members/guilds documentation
2021-03-31 21:27:40 -04:00
apple502j
954dd09e18
Deprecate Client.logout
2021-03-31 07:30:41 -04:00
Edwin
31ee3fafc1
Add remove_markdown helper function
2021-03-28 18:38:34 -04:00
Colin R
a6c5b04142
Clarify docs to state that on_reaction_remove requires Intents.members
2021-03-24 08:25:12 -04:00
Nadir Chowdhury
6f748e5da5
Add remaining v6 message types
2021-02-23 03:57:11 -05:00
Nadir Chowdhury
427e387a2f
Deprecate non-bot methods
2021-02-23 03:36:37 -05:00
Sebastian Law
a0c1d6f6c5
Fix backslashes showing up in the docs
2021-02-21 07:32:11 -05:00
Maya
66b834b332
Document BanEntry
2021-02-21 00:12:30 -05:00
Sebastian Law
b86073fac3
Document behavior of on_disconnect
2021-02-20 20:47:29 -05:00
Michael H
08d45cc2ab
Update docs to be clearer about discord limitations
2021-02-17 07:33:17 -05:00
ChristopherJHart
050bf74f5d
Clarify on_raw_message_edit cached message nature
2021-01-18 04:55:59 -05:00
Dan Hess
22cb4ef18b
Include pending as a possible member_update trigger
2020-12-29 22:37:07 -05:00
Stefano Pigozzi
194344da7d
docs: Change page to section in event reference
2020-12-29 08:25:53 -05:00
Rapptz
674f414ae0
Add attributetable to WebhookMessage
2020-12-19 06:00:21 -05:00
Rapptz
4ef6d7ec1e
Add missing attributetable to new classes
2020-12-18 21:35:27 -05:00
Rapptz
9b88c63163
Add attributetable and add some class-level sections.
...
The extensions have yet to receive this treatment and CSS needs work,
but for now this is fine.
2020-12-18 21:18:47 -05:00
Rapptz
3fe6d261f1
Add PartialMessage to allow working with channel/message_id pairs.
...
Fix #5905
2020-12-11 00:32:38 -05:00
Rapptz
44dc7a8e02
Add support for editing and deleting webhook messages.
...
Fix #6058
2020-12-09 20:15:35 -05:00
Josh
f8e428bd5b
Add support for chunking AsyncIterator objects
2020-12-03 18:32:53 -05:00