779 Commits

Author SHA1 Message Date
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 Chowdhury
b20e92efd8
[docs] Fix references to Greedy 2021-04-10 14:59:09 -04:00
James
bcd3a00eaf
[commands] Make commands.Greedy a typing.Generic 2021-04-10 07:27:32 -04:00
jack1142
4fee632526
Make the style of external and internal cross-references consistent 2021-04-10 04:03:22 -04:00
jack1142
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
Sigmath Bits
68aef92b37
[commands]Add typing.Literal converter 2021-04-10 02:50:59 -04:00
Sebastian Law
05c123f3ab
Use f-strings in more places that were missed 2021-04-08 09:31:06 -04:00
Rapptz
e895a53713 [commands] Add StageChannelConverter to documentation 2021-04-08 00:44:47 -04:00
Sebastian Law
ece7064e64
[docs] add label to basic converters section 2021-04-07 07:12:52 -04:00
Rapptz
a9d5c0aa3b Fix headers in partial webhook channel and guild objects 2021-04-07 06:37:09 -04:00
Rapptz
b818296c21 Remove type hints from generated docs 2021-04-07 06:35:29 -04:00
Shun Tannai
bda3afcad7 [commands] Update Converter list in ext.commands introduction 2021-04-07 03:20:35 -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
8da6b47a36 Update changelog for v1.7.1 2021-04-05 21:39:35 -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
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
Rapptz
f6df66a971 Add missing documentation for StoreChannelConverter 2021-04-04 00:21:15 -04:00
Rapptz
6d63cf0d5d Add missing StoreChannel documentation 2021-04-04 00:17:59 -04:00
Rapptz
834a7d80aa Fix StoreChannel reference in changelog 2021-04-04 00:04:30 -04:00
Rapptz
f8964b1b32 Add content_type to changelog 2021-04-03 23:33:03 -04:00
Rapptz
5b244a7002 Add changelog for v1.7 2021-04-03 23:09:47 -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
Mikey
e66141e002
[docs] suggest presence in constructor instead of change_presence 2021-03-31 21:26:51 -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
8d66ced02c
[docs] Conveter -> Converter 2021-03-24 08:18:11 -04:00
Arnav Jindal
bd29795f92
[docs] Grammar fixes for intents.rst 2021-03-24 08:13:42 -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
Sebastian Law
ceab8ff638
[tasks] make __call__ actually appear in the docs 2021-02-21 07:19:10 -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
Alex Nørgaard
68eb844d48
[commands] Add discord.Guild converter and GuildNotFound error
* Add discord.Guild converter and GuildNotFound error

* note for lack of disambiguation in Guilds with duplicate names, and removed the possibility of returning None

* edited converter to use `utils.get` over `utils.find` and docs edited with Converter and Exception.
2021-02-07 05:32:33 -05:00
Rapptz
30c06bc55f Always inject the HTML builder even in RTD builds 2021-02-02 03:01:12 -05:00
Sebastian Law
e0e60a2f62
[commands] document PartialMessageConverter 2021-01-24 05:16:32 -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
Josh
f78f135505
[matrix] Add scroll to top button 2021-01-12 02:34:54 -05:00
Rapptz
c09cf779a3 Fix tag references in builds 2021-01-08 04:39:24 -05:00