185 Commits

Author SHA1 Message Date
Rapptz
a47ded6e49 Don't expose Client.messages
Not entirely sure why it was exposed in the first place. Most uses with
it essentially boiled down to mis-usage when they meant to use the
/messages endpoint (via Client.logs_from or Messageable.history) or
complaining about the partial data woes that came from it.
2017-05-26 07:17:52 -04:00
Rapptz
9074bea234 Less unnecessary padding around functions. 2017-05-25 22:33:01 -04:00
Rapptz
e1263a585a Mention User.avatar_url change in migration page. 2017-05-25 21:29:45 -04:00
Rapptz
1f1ac8f750 Mention on_member_ban event change. 2017-05-23 21:25:16 -04:00
Rapptz
37288412ed Working fix for one of the bullet points.
Thanks Pirate.
2017-05-23 11:31:41 -04:00
Rapptz
c3da6cdbd3 Add ref links to the commands API page. 2017-05-22 21:18:45 -04:00
Rapptz
f588876587 Use Python3Lexer instead of PythonLexer for pygments. 2017-05-22 07:21:23 -04:00
Rapptz
6119f280c5 Warnings are yellow. 2017-05-20 09:15:57 -04:00
Rapptz
969bb085cb Slightly different styling for supported operations. 2017-05-20 08:39:52 -04:00
Rapptz
f4e01b3a92 Make supported operations stand out more than attributes. 2017-05-20 02:08:34 -04:00
Rapptz
3727618b65 Kill remaining references to discord.Channel in documentation. 2017-05-19 21:58:02 -04:00
Rapptz
8a49a3a74f Update migrating page with new extension information. 2017-05-19 21:56:16 -04:00
Rapptz
026e526817 Lazy fix for active class when viewport is too small for sidebar. 2017-05-17 20:10:58 -04:00
Rapptz
3cb680159e Add __unload to the special cog method list. 2017-05-17 00:57:21 -04:00
Rapptz
9cbbd8af65 Highlight currently visited section. 2017-05-16 03:12:43 -04:00
Rapptz
20949fc70e Add helpful admonition CSS. 2017-05-15 20:47:49 -04:00
Rapptz
7a84661312 Rename Colour.to_tuple to Colour.to_rgb. 2017-05-15 03:40:27 -04:00
Rapptz
d80e08c1c6 Fix all broken cross references in the migrating page... again. 2017-05-15 02:08:56 -04:00
Rapptz
b895a3fabb Remove a bunch of red from the theme. 2017-05-15 01:55:42 -04:00
Rapptz
dd11b1f54c Make buttons in the sidebar not so sticky looking. 2017-05-15 01:42:30 -04:00
Rapptz
db3bc4076a Completely new theme separate from alabaster. 2017-05-15 01:22:00 -04:00
Rapptz
2d465d9b3c Fix dead links in the migrating page. 2017-05-14 23:55:38 -04:00
Rapptz
c45d18a6ea Add note about upgraded dependencies in the migrating page. 2017-05-14 17:59:17 -04:00
Rapptz
6b3abeb810 Fix FAQ using string for IDs. 2017-05-14 04:43:15 -04:00
Rapptz
de00573288 Fix some broken cross references in the migrating page. 2017-05-13 23:16:40 -04:00
Rapptz
b0dec645cb Add warning about sharing tokens. 2017-05-13 21:31:38 -04:00
Rapptz
cacd49b039 Be more consistent with period placements. 2017-05-12 22:48:17 -04:00
Rapptz
c6e1629011 Make images in the discord intro have consistent dimensions. 2017-05-12 22:45:27 -04:00
Rapptz
56972f509f Remove ugly background in the FAQ page. 2017-05-12 22:09:53 -04:00
Rapptz
823bfe5b2d Rename image file to lower case png.
Apparently Windows likes to make it PNG and not png which is quite
odd really.
2017-05-12 22:00:19 -04:00
Rapptz
cf2269fdf4 Fix some left over incorrect snippets. 2017-05-12 21:12:28 -04:00
Rapptz
a93145d1f0 Fix dead cross-reference links in the migrating page. 2017-05-12 21:01:50 -04:00
Rapptz
53926e3126 Hide the title in the index. 2017-05-12 20:37:45 -04:00
Rapptz
b44bba6ee6 First pass at documentation reform. 2017-05-12 20:14:34 -04:00
Rapptz
a0fc1402d7 Rename GuildRegion to VoiceRegion.
This naming makes more sense since voice regions are not a guild
exclusive concept.
2017-05-09 13:42:35 -04:00
Rapptz
140be3e4c8 Make AuditLogDiff.roles an empty list instead of None. 2017-05-07 12:09:28 -04:00
Rapptz
7916878eb5 Audit log role add and removes are lists, not single item.
Breaking change. role -> roles and it's now a list.
2017-05-06 16:39:47 -04:00
Rapptz
86bfcdd129 Add support for message delete audit log action type. 2017-05-04 04:35:02 -04:00
Rapptz
ba2dad2093 Add support for setting and retrieving guild vanity invites. 2017-04-30 07:17:00 -04:00
Twentysix
86b9099f3a Changed audit_log to audit_logs in documentation 2017-04-30 12:56:58 +02:00
Rapptz
c54a6a927d Implement audit logs. 2017-04-30 02:58:27 -04:00
Rapptz
f5cfc96aaf Add PCMVolumeTransformer to augment volume of a PCM stream.
This also introduces the idea of replacing the VoiceClient.source on
the fly. Note that this internally pauses and resumes the audio
stream.
2017-04-19 17:23:39 -04:00
Rapptz
3b1b26ffb1 Re-implement voice sending.
This is a complete redesign of the old voice code.

A list of major changes is as follows:

* The voice websocket will now automatically reconnect with
  exponential back-off just like the regular Client does.
* Removal of the stream player concept.
* Audio now gracefully pauses and resumes when a disconnect is found.
* Introduce a discord.AudioSource concept to abstract streams
* Flatten previous stream player functionality with the
  VoiceClient, e.g. player.stop() is now voice_client.stop()
* With the above re-coupling this means you no longer have to
  store players anywhere.
* The after function now requires a single parameter, the error,
  if any existed. This will typically be None.

A lot of this design is experimental.
2017-04-18 03:49:48 -04:00
Rapptz
728fae9285 Add Guild.explicit_content_filter. 2017-04-12 20:18:28 -04:00
Rapptz
bf2066278e Add support for multiple file attachments.
This is a breaking change. No longer does Messageable.send have a
filename keyword argument, instead this is all handled through the
discord.File model. To upload many files you must specify a list
of discord.File objects.
2017-04-08 03:33:21 -04:00
Rapptz
2abdbc70c2 Implement utilities for AsyncIterator.
Closes #473.
2017-02-11 23:34:19 -05:00
Rapptz
02f30f21c4 Implement User.profile coroutine to get a user's profile. 2017-01-24 22:00:27 -05:00
Rapptz
e1aaf74fa7 Add option to disable auto member chunking. 2017-01-23 07:07:42 -05:00
Rapptz
ff9f5749e1 Update copyright year to 2017. 2017-01-20 23:19:19 -05:00
Rapptz
4c981ee631 Add support for relationships. 2017-01-20 19:28:43 -05:00