Commit Graph
722 Commits
Author SHA1 Message Date
Nadir ChowdhuryandGitHub 9f98a9a87f Implement StageInstance 2021-05-30 13:51:52 -04:00
Rapptz 267fad9180 Add WebhookType.application 2021-05-30 10:02:58 -04:00
MayaandGitHub 4d7822493f Add support for bot integrations 2021-05-29 00:43:33 -04:00
ZomatreeandGitHub b48f510e15 Add invite targets for voice channel invites 2021-05-29 00:15:46 -04:00
Rapptz ff36aedf7b Add support for reading SelectMenu components from messages 2021-05-28 05:34:21 -04:00
Rapptz 8bd17ede47 Move ActionRow to its own separate type split from Component 2021-05-28 02:11:10 -04:00
MrKomodoDragonandGitHub 77ed476129 Fix extraneous colons in the documentation for ButtonStyle 2021-05-27 22:34:31 -04:00
Rapptz 3b83f60b35 Add support for setting interaction responses 2021-05-27 00:53:14 -04:00
Rapptz 80fd222ca0 Add aliases for button style colours 2021-05-27 00:53:14 -04:00
Rapptz eda6680377 Rename enums to use official API naming 2021-05-27 00:53:14 -04:00
Rapptz 98570793e4 Add initial support for buttons and components 2021-05-27 00:53:13 -04:00
Stanisław JelnickiandGitHub 67aabc3230 Remove VerificationLevel aliases 2021-05-25 20:51:08 -04:00
Stanisław JelnickiandGitHub 65439732b3 Add Discord Certified Moderator user flag 2021-05-23 05:07:33 -04:00
Nadir ChowdhuryandGitHub f87eaa613d [docs] typo fix 2021-05-23 03:47:16 -04:00
ChasLandGitHub 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 JelnickiandGitHub 9b4e820bbe Document Invite.inviter as optional 2021-05-12 20:34:44 -04:00
sudosnokandGitHub 2a6d79078e [commands] Add GuildChannelConverter 2021-05-07 07:37:42 -04:00
JoshandGitHub 7ebfface22 Explicitly ignore legacy file reference errors in sphinx -n mode 2021-05-06 09:12:19 -04:00
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
Rapptz e3037b32d5 Add changelog for v1.7.2 2021-05-02 23:39:21 -04:00
Nadir ChowdhuryandGitHub 51df7496db Add AuditLogChanges.rules_channel/public_updates_channel 2021-05-01 06:47:22 -04:00
HyperGHandGitHub 686e531624 Adjust quickstart to not show commands example 2021-04-26 21:37:44 -04:00
JoshandGitHub 3c2674725a Add as_chunks helper function 2021-04-25 23:36:03 -04:00
Nadir ChowdhuryandGitHub 1765cdffb1 Use Asset for AuditLogChanges and add more entries 2021-04-25 09:53:38 -04:00
JoshandGitHub 368fda7272 Remove HypesquadHouse enum from docs 2021-04-25 04:35:45 -04:00
Alex NørgaardandGitHub e09f64b7c9 Fix typo in FlagConverter docs 2021-04-22 21:12:19 -04:00
sudosnokandGitHub 67abfea61a Add target_user and target_type to Invite objects 2021-04-21 23:30:35 -04:00
Rapptz 212d308835 [commands] Some minor clean up of the flag converter documentation
Fix #6761
2021-04-19 22:52:29 -04:00
Arnav JindalandGitHub 2e6c28bd60 Bump Python version in Quickstart documentation 2021-04-19 22:26:56 -04:00
Rapptz 18bf3d3a7d [commands] Actually expose the FlagError base error 2021-04-19 10:27:24 -04:00
Rapptz ddb71e2aed [commands] Initial support for FlagConverter
The name is currently pending and there's no command.signature hook
for it yet since this requires bikeshedding.
2021-04-19 10:25:08 -04:00
Rapptz c54e43360b [commands] Add run_converters helper to call converters 2021-04-19 04:46:02 -04:00
Nadir ChowdhuryandGitHub 95777230b0 Add MessageType.guild_invite_reminder 2021-04-18 20:33:56 -04:00
Nadir ChowdhuryandGitHub 631a0b1e13 Add support for ApplicationFlags 2021-04-18 20:32:52 -04:00
Nadir ChowdhuryandGitHub 821b6c61cb [docs] document inherited members on Asset 2021-04-17 23:40:13 -04:00
Rapptz c2afa984ff Use f-strings for attributetable 2021-04-17 19:40:40 -04:00
Rapptz fdf81089b5 Add inherited members to (Partial)Emoji docs 2021-04-17 19:40:40 -04:00
z03handGitHub 304229071f Add VoiceChannel.video_quality_mode 2021-04-17 08:10:41 -04:00
Nadir ChowdhuryandGitHub 5dec62f4c0 [commands] Add a converter for discord.Object 2021-04-16 08:18:57 -04:00
Nadir ChowdhuryandGitHub 8f9819eb4c [docs] Fix various unresolved references 2021-04-15 22:41: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 ChowdhuryandGitHub f1fac96e33 Remove private_channel_(delete/create) events 2021-04-11 15:13:23 -04:00
NCPlayzandRapptz 4c565e5299 add reply and application_command types 2021-04-11 00:39:13 -04:00
Rapptz 42c3ee6eed Bring back discord module in discord.ext.commands documentation 2021-04-10 15:49:39 -04:00
Rapptz 296bd069c1 Remove current module reference in commands API docs 2021-04-10 14:59:26 -04:00
Nadir ChowdhuryandGitHub b20e92efd8 [docs] Fix references to Greedy 2021-04-10 14:59:09 -04:00
JamesandGitHub bcd3a00eaf [commands] Make commands.Greedy a typing.Generic 2021-04-10 07:27:32 -04:00
jack1142andGitHub 4fee632526 Make the style of external and internal cross-references consistent 2021-04-10 04:03:22 -04:00
jack1142andGitHub 4591705b55 Add missing attribute tables 2021-04-10 03:42:42 -04:00
Rapptz ea32147d02 Fix all warnings with Sphinx 2021-04-10 03:27:40 -04:00