217 Commits

Author SHA1 Message Date
Rapptz
13c6a0a17a Add support for Guild.system_channel 2017-08-17 18:14:52 -04:00
Gorialis
80586cb081 Minor fixes in migrating doc 2017-08-16 07:09:06 -04:00
Rapptz
434d6dc347 Fix extraneous parentheses in Client.emojis render in migrating docs. 2017-08-12 18:41:21 -04:00
SinisterRectus
8acf3d01ce Remove GuildChannel.is_default 2017-08-08 17:31:09 -04:00
Gorialis
1582116b72 Add documentation examples for AsyncIterator and change_presence. 2017-08-08 17:31:08 -04:00
Gorialis
20fae90a08 Add operation documentation for VerificationLevel, ContentFilter 2017-08-02 01:38:15 +09:00
Rapptz
e493f1f2f4 Remove Guild.create_invite too since it relies on a default channel. 2017-07-31 21:39:48 -04:00
Rapptz
3dc1195637 Remove Guild.default_channel
The concept no longer exists.
2017-07-31 21:32:12 -04:00
Rapptz
9cfa39a1c7 Fix AsyncIterator documentation to properly show coroutines. 2017-07-29 15:26:02 -04:00
Rapptz
8f0dcaa666 Variadic arguments are a tuple not a list. 2017-07-10 20:33:53 -04:00
Rapptz
2f97678a79 First pass at commands narrative documentation. 2017-07-08 00:28:23 -04:00
Rapptz
bd67cb5137 Hide constructor for objects that shouldn't be created by users. 2017-07-05 17:30:36 -04:00
Rapptz
e0f02f1775 Rename AsyncIterator.get to next to prevent shadowing. 2017-07-04 10:45:38 -04:00
Rapptz
c98443e9aa Fix wrong order in migrating docs. 2017-07-02 17:49:56 -04:00
Rapptz
867d918e30 Add when_mentioned and when_mentioned_or to the documentation. 2017-07-01 16:18:07 -04:00
Rapptz
25a1d8c300 Add support for user flags in Profile. 2017-06-30 18:49:49 -04:00
Rapptz
51429f98e8 Fix typo in migrating page. 2017-06-29 20:25:40 -04:00
Rapptz
c23ef9e8a4 [commands] Add __global_check_once to list of cog functions. 2017-06-20 23:55:17 -04:00
Rapptz
717f11d635 [commands] Add Bot.check_once for a global check that is called once.
There is a counterpart for this in cogs, called __global_check_once.
This allows for predicates that would filter a command globally that
do not necessarily require rechecking in the case of e.g. the help
command such as blocking users or blocking channels.
2017-06-20 23:41:13 -04:00
Rapptz
efe8fbf6ed Fix format string in documentation. 2017-06-12 17:39:12 -04:00
Rapptz
d239cc2666 Implement "partial" message events.
These are events that get triggered regardless of the state of the
message cache. Useful for getting data from before the bot was booted.
2017-06-09 18:36:59 -04:00
Rapptz
0f7c1e09b0 Fix mixed order in migrating docs. 2017-06-05 23:15:29 -04:00
Rapptz
6135d4cd45 Fix typing/history showing up twice in the documentation. 2017-06-03 02:46:20 -04:00
Rapptz
bef636e1e3 Fix mistake in migrating docs. 2017-06-02 16:51:58 -04:00
Rapptz
a18267ca49 Fix FAQ to showcase that there is a single parameter, the error. 2017-06-02 06:25:39 -04:00
Rapptz
d85e479be6 Minor fix in migrating page. 2017-05-31 15:28:54 -04:00
Rapptz
fb7689f8ea Add some margin for supported operations sections. 2017-05-31 14:50:31 -04:00
Rapptz
95451c35e7 Document Message.embeds and Message.attachments changes. 2017-05-31 01:57:18 -04:00
Rapptz
8d3279b291 Implement an Attachment model. 2017-05-30 22:27:45 -04:00
Rapptz
34815a43f4 Permissions.view_audit_logs -> Permissions.view_audit_log 2017-05-28 22:00:43 -04:00
Rapptz
83f86f902a Rename verification level to extreme due to demand. 2017-05-27 22:19:31 -04:00
Rapptz
ee3c77353f Add highest verification level. 2017-05-27 01:12:06 -04:00
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