973 Commits

Author SHA1 Message Date
Rapptz
96981210b3 Rework documentation to not duplicate inherited members.
This will probably be reverted in 1 week.
2018-10-03 05:45:30 -04:00
Rapptz
836ae73040 Add support for AuditLogDiff.slowmode_delay. 2018-09-25 21:56:41 -04:00
Rapptz
54e9401a21 Update Japanese documentation strings 2018-09-24 23:42:20 -04:00
Rapptz
99b1390e5a [commands] Elaborate more on disallowed types in Greedy and Optional 2018-09-24 23:39:25 -04:00
Rapptz
3d03dbc451 Change internal role storage in Guild to a dict instead of a list.
This adds the following APIs:

* Guild.get_role

This removes the following APIs:

* Guild.role_hierarchy

To compensate for the removed APIs, Guild.roles is now a sorted list
based on hierarchy. The first element will always be the @everyone
role.

This speeds up access at the cost of some memory, theoretically.
2018-09-24 21:08:48 -04:00
Rapptz
418048b98a [commands] Fix up Greedy documentation a bit. 2018-09-24 04:22:09 -04:00
Rapptz
21cb700d2c Forgot to add these images. 2018-09-24 04:06:34 -04:00
Rapptz
814b03f5a8 [commands] Add commands.Greedy converter and documentation.
This allows for greedy "consume until you can't" behaviour similar to
typing.Optional but for lists.
2018-09-24 03:56:32 -04:00
Episword
53433bca48 Translate some more files to Japanese 2018-09-15 18:28:57 -04:00
Jeremy Zhang
d092c6635b Fix webhook_update from code review 2018-09-15 18:28:57 -04:00
Jeremy Zhang
17f9916b03 Simple parser for WEBHOOKS_UPDATE 2018-09-15 18:28:57 -04:00
Rapptz
51a03d96e0 Update Japanese string dump. 2018-09-15 09:54:32 -04:00
Rapptz
5c24e69cf2 Fix up the Sphinx strings causing warnings. 2018-09-15 09:54:00 -04:00
bmintz
00a659c652 [docs] sort the VoiceRegions
having them appear in the docs ordered by their internal number
is not useful to the user. Sorting them by name
allows one to more quickly locate a voice region in the docs.
2018-08-30 19:20:11 -04:00
bmintz
1d65d6993a document HypeSquadHouse and Profile.hypesquad_houses 2018-08-30 19:20:10 -04:00
Chris
15ca9294e1 Fix typo in on_raw_reaction_add event. 2018-08-28 23:50:56 -04:00
Episword
427d0aae86 Finished index.po translation. 2018-08-28 23:50:53 -04:00
Toby Harradine
dace5aeaee Move conditional RTD dependencies to 'docs' extra 2018-08-22 21:57:27 -04:00
MaximusPX
4a1d28a1de Adds missing voice regions. 2018-08-22 21:07:54 -04:00
El Laggron
395af228b1 More informations for the Application info
This adds the rpc_origin, bot_public and
bot_require_code_grant attributes
2018-08-22 21:06:09 -04:00
Rapptz
86712c4d60 Ensure intersphinx points to the Japanese documentation. 2018-08-08 00:19:40 -04:00
Episword
45d521c939 Translation of discord.po is finished. 2018-08-08 00:16:51 -04:00
Episword
c662bd9738 Translation of mta.po is finished. 2018-08-08 00:16:49 -04:00
Episword
db6d555699 Translation of intro.po is finished. 2018-08-08 00:16:48 -04:00
Episword
91955f3e88 Translation of faq.po is finished. 2018-08-08 00:16:47 -04:00
Rapptz
f06563cb35 Change Japanese font to Yu Gothic and Noto CJK in documentation 2018-08-01 20:46:32 -04:00
Episword
8bb8e603a5 Translation of logging and quickstart is finished. 2018-08-01 20:38:59 -04:00
Rapptz
3dd462d5b5 Update .po files for Permissions.priority_speaker 2018-08-01 20:30:11 -04:00
Rapptz
18385dc49f Add stubs for Japanese translations. 2018-07-31 17:37:22 -04:00
Rapptz
52767cf315 [commands] Add documentation for BadUnionArgument 2018-07-20 06:02:29 -04:00
khazhyk
2321ae8d97 [commands] raise ConversionError on Converter error
This assumes that a Converter class raising non-CommandError
is a programmer error. Makes this type of error easier to
disambiguate from a generic BadArgument.
2018-07-20 04:14:20 -04:00
Ben Mintz
184c4302c7 docs/mimgrating.rst: CPython 3.5.2 is not supported!
The minimum version supported by aiohttp is CPython 3.5.3, not 3.5.2.
Fixes #1344.
2018-06-21 07:44:02 -04:00
Rapptz
f25091efe1 Drop support for Python 3.4 and make minimum version 3.5.2. 2018-06-10 18:10:00 -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
Rapptz
857e30c68e Add some documentation for the Game to Activity breaking change. 2018-03-06 01:21:25 -05:00
Rapptz
f8f8f418f3 Split Game object to separate Activity subtypes for Rich Presences.
This is a massive breaking change.

* All references to "game" have been renamed to "activity"
* Activity objects contain a majority of the rich presence information
* Game and Streaming are subtypes for memory optimisation purposes for
  the more common cases.
* Introduce a more specialised read-only type, Spotify, for the
  official Spotify integration to make it easier to use.
2018-03-05 11:15:49 -05:00
Rapptz
4fef6fc4b0 Fix minor typo in migrating documentation. 2018-01-22 17:34:46 -05:00
FrostLuma
c32b28f46d Add documentation for new_member system messages 2018-01-22 17:46:28 +01:00
Gorialis
04d9dd9c0d Change PartialReactionEmoji to PartialEmoji, add a PartialEmojiConverter 2018-01-06 17:32:25 -05:00
Tobotimus
3112e1c17e Add intersphinx 2018-01-06 17:23:59 -05:00
Rapptz
6813280938 websupport is not actually a Sphinx extension apparently. 2017-12-29 06:34:06 -05:00
Rapptz
e9f887aab2 Add websupport extension to extension list. 2017-12-29 06:29:59 -05:00
Mippy (William)
98c8928934 Missing Voice Regions 2017-11-12 16:58:31 -05:00
Rapptz
54f2c71e71 Fix margins on <p> tags. 2017-09-22 03:11:37 -04:00
Rapptz
dbf8b5bda6 Fix header size warnings. 2017-09-21 21:16:00 -04:00
Rapptz
e3d69ce83d Add custom details directive. 2017-09-21 21:15:37 -04:00
Rapptz
8ed5fe472c More CSS fixes. 2017-09-21 19:38:33 -04:00
Rapptz
2bfd15ba89 Fix weird margins with unordered lists in the HTML5 output. 2017-09-21 18:37:22 -04:00
Rapptz
de6cffa347 Try to build HTML5 for docs. 2017-09-21 18:04:46 -04:00
Rapptz
e614f6b4cd [commands] Add CategoryChannelConverter 2017-09-13 17:19:30 -04:00