719 Commits

Author SHA1 Message Date
Rapptz
7543328fe7 Update Sphinx to 2.1.2 2019-06-28 01:43:04 -04:00
Rapptz
0cf38241d0 Version bump to 1.2.3 2019-06-25 21:50:28 -04:00
Rapptz
a136def52f Translation sync from crowdin 2019-06-22 10:23:38 -04:00
Rapptz
e00635fba7 Version bump to 1.2.2 2019-06-09 21:51:43 -04:00
Toby Harradine
e3e2e38511
Update docs to note Enum derivation change 2019-06-10 00:53:10 +10:00
Rapptz
3730e66d37 Crowdin translation sync 2019-06-09 08:20:43 -04:00
Rapptz
7980213745 Version bump to 1.2.1 2019-06-09 02:18:43 -04:00
Rapptz
af4e3ad79b Some documentation touch-ups and missing stuff in the changelog. 2019-06-09 01:24:41 -04:00
Rapptz
a8f0a03247 Version bump to 1.2.0 2019-06-09 00:39:38 -04:00
Rapptz
8bf0482af5 Fix exception hierarchy documentation. 2019-06-08 21:23:42 -04:00
NCPlayz
3c9bcc2851 Improve documentation 2019-06-07 19:27:46 -04:00
Rapptz
320dbc0618 Add support for system channel flags 2019-06-06 22:30:02 -04:00
Rapptz
5dce3410e6 Add support for new message types related to premium guilds. 2019-06-04 18:30:47 -04:00
Ehren Julien-Neitzert
fc5a2936dd Fix pluralization errors in various files
* Replaced instances of 'return an' with 'returns an'
* fixed pluralization errors
2019-05-23 23:31:17 -04:00
apple502j
007b7ebf3a
Update on_group_join docs 2019-05-18 12:58:12 +09:00
apple502j
357abf2e55 Add India region to VoiceRegion 2019-05-13 20:26:10 -04:00
Rapptz
26a6970882 Version bump to v1.1.1 2019-05-11 15:42:13 -04:00
Rapptz
f8cc64ca7e Add changelog for v1.1.0 2019-05-10 20:19:51 -04:00
Rapptz
d51f4c2b81 Minor nits in Discord Converters section of the docs. 2019-05-09 07:40:08 -04:00
NCPlayz
25d9337481 Document remaining public enums.
- UserContentFilter
- FriendFlags
- PremiumType
- Theme

UserFlags is not documented as though it is only used internally.
2019-05-09 06:11:19 -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
Rapptz
41dee3f401 Translation sync with Crowdin 2019-05-04 02:55:53 -04:00
Rapptz
446b79241c Actually use multiple checks in the examples for checks. 2019-05-01 23:57:50 -04:00
Rapptz
91e00d8426 [tasks] Add way to query cancellation state for Loop.after_loop
Fixes #2121
2019-04-30 01:45:15 -04:00
Rapptz
55e3e242ff [tasks] Remove support for awaitables due to gotchas.
Fixes #2079
2019-04-29 23:34:20 -04:00
Tarek1337
7675dd03ca Added missing get_role method to the faq. 2019-04-29 23:34:16 -04:00
Rapptz
439dd24056 voice room → voice channel in event documentation 2019-04-25 23:24:13 -04:00
Vexs
bb3ebc0ebc [commands] Add custom exception classes for built-in checks
Added:
* MissingRole
* BotMissingRole
* MissingAnyRole
* BotMissingAnyRole
2019-04-20 16:45:37 -04:00
Rapptz
c3bad4eeab Make context documentation in migration a bit more clear. 2019-04-18 19:49:57 -04:00
Vexs
f38b199d6a Add support for <:name:id> format for adding reactions
Adjust FAQ to match.
2019-04-17 22:42:00 -04:00
khazhyk
b1fae0861a add read-only cached_messages property to Client
For those of us who want access to this sweet trove of zero hop messages
2019-04-17 22:41:59 -04:00
Rapptz
296d4bf580 [commands] Add new MessageConverter to commands prose page. 2019-04-17 22:41:58 -04:00
retke
440db2a568 [commands] Add MessageConverter to fetch messages by URL or ID. 2019-04-17 20:47:21 -04:00
Rapptz
321efb11ed Fix typo in on_raw_reaction_remove docs. 2019-04-14 06:05:11 -04:00
Dante Dam
497894e756 Improvements to intro docs. 2019-04-12 20:56:40 -04:00
apple502j
d15a0f541b
Remove "needs python 3.5+" from async iter section 2019-04-12 20:15:54 +09:00
Rapptz
e46842a7cd [tasks] Add before_loop and after_loop decorators 2019-04-12 04:08:42 -04:00
Vexs
b6b55e820f Update FAQ with some common tags
Pointed references to random.cat to use their aws api
Added details about custom and unicode emojis to how to add a reaction
Added watching example to presence changing
Added new fetch methods to specific model FAQ
2019-04-12 03:21:49 -04:00
Rapptz
4cf96107ae [tasks] Document version added 2019-04-11 08:26:46 -04:00
Rapptz
10bc939348 [tasks] Rename Loop.run to Loop.start to avoid blocking connotations 2019-04-11 08:19:32 -04:00
Rapptz
b0c7f48caf [tasks] Add a new background helper 'tasks' extension. 2019-04-11 08:04:26 -04:00
Rapptz
50dcdac5ca [commands] Fix references in Bot to actually link.
Exceptions can't seem to link due to a bug in Sphinx.
2019-04-10 05:13:30 -04:00
Rapptz
5b99e7d6f4 Update changelog 2019-04-10 01:05:47 -04:00
Steve C
db340fd5f9 Fix broken documentation attribute 2019-04-09 00:10:28 -04:00
Rapptz
3e2e6ad502 Update Japanese translation files. 2019-04-08 18:38:10 -04:00
Rapptz
51c64a3b73 Fix documentation so Sphinx can build semi-cleanly. 2019-04-08 18:17:15 -04:00
Rapptz
1da624a8b5 Remove manual documentation for AppInfo 2019-04-08 17:27:31 -04:00
Rapptz
f8999b63ae Fix long-standing issue with user updates not dispatching properly.
This fix is long coming. For a long time due to the addition of a
global user cache, the on_member_update event would only have the
updated user in the very first dispatch due to a quirk in the reference
only being updated once.

In order to fix this issue two things had to change:

1. There had to be a new event, `on_user_update` to complement
   the equivalent member event.
2. Unnecessary copies of User had to be removed to compensate for the
   performance hit from the diffing.

While doing these two fixes I also re-evaluated some more unnecessary
copies done during the PRESENCE_UPDATE to add member case while
fetch_offline_members=False is set or due to chunking issues. The
number of copies was brought down from 2 to 1, discounting the original
Member creation. Unsure on the benefits of this one, however.

N.B: this doesn't change the pre-existing behaviour of on_member_update
2019-04-08 07:45:04 -04:00
Rapptz
1243298b34 Add some version guarantees to the documentation. 2019-04-08 02:18:48 -04:00
khazhyk
366dc4855b simplify HistoryIterator message ordering
rename reverse -> oldest_first, which is more obvious what it does.
Then, honor it entirely - if you specify no `after` endpoint, we default
to the beginning of message history, similar to how `before` defaults to
the end of message history.

This is a breaking change, and will change the behavior of any iterator
that previously would have been returning messages in a weird order for
limits over 100

`for msg in history(reversed=True, limit=300)` would return the newest
300 messages, in a messed up order (100..0, 200..100, 300..200).
`for msg in history(oldest_first=True, limit=300)` will now return the
oldest 300 messages in order. And so on.

`for msg in history(after=msg)` is unchanged, this previously would
return the oldest 100 messages after `msg`, oldest->newest order, and
still will.
2019-04-07 22:46:40 -07:00