2215 Commits

Author SHA1 Message Date
Reece Dunham
de1a96b9f7 Fix: another capitalization issue in docstring 2019-07-18 18:06:42 -04:00
ed588
c6133ef881 [commands] Bot.is_owner should be marked as coroutine 2019-07-18 18:06:27 -04:00
Dante Dam
956f4c7151 [commands] Fix CategoryChannel not appearing in converter table 2019-07-18 18:06:27 -04:00
Steve C
ae4989e474 Fix return type docstring for BaseUser.default_avatar 2019-07-18 18:06:26 -04:00
Steve C
7cec42c8f1 Fix doc URL in Client.fetch_guild 2019-07-18 18:06:26 -04:00
Jake
8fdcb4de3b
use proper ip for endpoint ip 2019-07-17 13:27:37 -07:00
Rapptz
93f719aeb7 Proper boolean check for caching members. 2019-07-15 08:26:22 -04:00
Rapptz
f13c1be171 Better knowledge on how guild_subscriptions work now. 2019-07-15 08:01:57 -04:00
Rapptz
5b2f630848 Add Guild.query_members to fetch members from the gateway. 2019-07-15 07:56:48 -04:00
Rapptz
bc352f0e50 Allow complete disabling of the member cache. 2019-07-11 00:49:30 -04:00
Rapptz
edcd9459e3 Use Guild.owner_id in Guild.edit when checking if the bot owns a guild. 2019-07-10 14:39:12 -04:00
Rapptz
562580a07f Use lower level Guild.owner_id for permission resolution. 2019-07-10 14:30:53 -04:00
Rapptz
91f1f430e1 Fix NameError in member upgrade code 2019-07-10 06:11:03 -04:00
Rapptz
ca2ee0655d Add versionadded for guild_subscriptions option. 2019-07-10 05:00:13 -04:00
Rapptz
2e6882bd8c [commands] Fall back to using Message.mentions in converters
Useful if there's no cache.
2019-07-10 04:51:27 -04:00
Rapptz
bbc50c92d0 Add upgraded Member to Message.mentions in case of no cache. 2019-07-10 04:51:27 -04:00
Rapptz
5f272fa151 Add VoiceChannel.voice_states low level helper. 2019-07-10 04:51:27 -04:00
Rapptz
7b8d50a988 Add support for guild subscriptions. 2019-07-10 04:51:27 -04:00
Rapptz
5c1b239b47 Different method of upgrading user instances 2019-07-10 01:23:38 -04:00
Rapptz
e75c248a9a Properly populate __slots__ for derived user types.
Fixes #2265
2019-07-09 22:51:49 -04:00
Rapptz
6f71552c50 [commands] Don't update sys.modules with a stale reference. 2019-07-07 20:17:44 -04:00
Rapptz
70e62e8fe4 Fix regression where Message.edited_at would not update during edits 2019-07-05 23:52:47 -04:00
Rapptz
4c917d10de Use the standard way of detecting RTD 2019-07-01 00:37:35 -04:00
Rapptz
ac00fcad77 Flatten genindex to not group names.
Also better width in the tables.
2019-06-30 18:59:19 -04:00
Joshua B
9d0400516a
Fix TeamMember.team typehinting
class Team should be capitalised.
2019-07-01 03:08:49 +10:00
Rapptz
b31028fa19 Fix some linking issues with TeamMembershipState 2019-06-30 02:38:56 -04:00
Rapptz
604e9dfc67 Remove constructibility from certain classes in documentation. 2019-06-30 02:37:59 -04:00
Rapptz
ccb26018ab Export Team related stuff from __init__ 2019-06-30 02:34:42 -04:00
Rapptz
ba7a319ab0 Team.owner should return a TeamMember.
Should always be available but who knows.
2019-06-30 02:34:42 -04:00
Rapptz
c4d1bd7899 TeamMember inherits from BaseUser instead of attribute. 2019-06-30 02:34:42 -04:00
Rapptz
d4b13bd32b [commands] Fix up Paginator documentation.
These aren't optional.
2019-06-29 20:29:13 -04:00
Matt (IPv4) Cowley
391ff7a486 [commands] Calculate suffix length at each add_line 2019-06-29 20:28:32 -04:00
Rapptz
0cca3ca5c6 Add support for suppressing embeds. 2019-06-29 20:26:47 -04:00
Rapptz
203d702d46 Add unused Guild.preferred_locale 2019-06-29 20:17:18 -04:00
Rapptz
2c16e43e8a Fix regression with unresolved channels due to reordering.
Channels are meant to fallback to Object if the message is out of
order. Somewhere along the commit line this got removed despite the
issue still existing.
2019-06-29 19:41:38 -04:00
Rapptz
68342db04d [commands] Properly raise the correct exception for owner_ids
Also some minor nits with documentation.
2019-06-29 19:26:45 -04:00
Xua
69364a25eb fix documentation for GuildChannel.set_permissions 2019-06-29 19:15:20 -04:00
Nihaal
9687740217 [tasks] Removed Returns from decorator docstring 2019-06-29 19:15:06 -04:00
Eugene
be5bd27386 Remove unused import
find_packages function is not used anymore
2019-06-29 19:15:06 -04:00
Benjamin Mintz
0a21591d0c [commands] Don't raise ExtensionNotFound for ImportErrors in modules
Now loading an extension that _contains_ a failed import will fail
with ExtensionFailed, rather than ExtensionNotFound.
2019-06-29 19:15:05 -04:00
fourjr
3961e7ef6d Support team members data in application info 2019-06-29 19:14:24 -04:00
NCPlayz
5698cf6df9 Implement Guild.fetch_roles 2019-06-29 19:14:22 -04:00
NCPlayz
851f83c821 Implement Guild.fetch_members
Also implements `MemberIterator`.
2019-06-29 19:14:19 -04:00
Rapptz
d747f2c88b Use a new scorer to improve search results.
This makes the other pages take less priority than the API results.
It's kind of biased, but hopefully it helps out.
2019-06-29 02:36:26 -04:00
Rapptz
c26797d808 Proper RTD detection. 2019-06-29 02:34:11 -04:00
Rapptz
1652539d40 Disable RTD search.
It's completely broken anyway.
2019-06-29 01:31:00 -04:00
Rapptz
ab00bc0686 Strip discord.ext in genindex page and unbreak PEP links. 2019-06-28 21:29:43 -04:00
Rapptz
acda808803 Make the generated index page more useful for Ctrl + F. 2019-06-28 21:04:43 -04:00
Rapptz
db67c79dbc Downgrade to Sphinx 1.8.5
For some reason 2.1.2 breaks localization.
2019-06-28 09:00:17 -04:00
Rapptz
7523f86006 Translation sync with Crowdin 2019-06-28 08:59:21 -04:00