156 Commits

Author SHA1 Message Date
Rapptz
1ee1b7feea Consistent usage of RST inline code within Guild.features references 2020-05-23 22:05:59 -04:00
NCPlayz
ed80ba6a5e Implement some missing attributes of Guild (and Guild.edit) 2020-05-23 22:04:02 -04:00
NCPlayz
40a4604604 use _channel_factory instead of manual checking in Guild._sync 2020-05-23 21:56:40 -04:00
iomintz
559c464d3b
fix HTTPException explanation in Guild.fetch_member docs 2020-05-06 11:27:17 -05:00
Xua
5107583c5d fix NotificationLevel being suppressed 2020-05-03 23:08:08 -04:00
unknown
b7c7c86a6b Add roles parameter for pruning members. 2020-05-03 15:39:52 -04:00
Rapptz
9f47d7f71c Fix cases where member_count is equal to 0
Fixes #4008, #4005
2020-04-16 23:30:59 -04:00
Arthur
ad87bfb395 Guild.owner may be None for very large guilds. 2020-04-14 03:24:46 -04:00
Jake Ward
c782ac3254 Update documentation on guild features to reflect Discord changes 2020-04-06 04:58:27 -04:00
Ilya Lukyanov
d2cc8aa459 Add position argument to Guild.create_category
This way we can specify category position upon creation
2020-04-04 03:15:47 -04:00
PredaaA
9941812241 Add "FEATURABLE" in guild features. 2020-04-04 01:12:23 -04:00
Rapptz
cbca33e44f Guard against the member data not being available in VOICE_STATE_UPDATE 2020-02-01 23:48:09 -05:00
Rapptz
3b8678da81 Use member data from VOICE_STATE_UPDATE if not found in cache 2020-02-01 23:40:25 -05:00
Harmon
6f9793fe5e Fixes and improvements for v1.3 documentation
* Add missing versionadded strings for v1.3
* Add missing versionchanged string for Message.edit
* Consistently use versionadded for attributes
* Consistently use versionchanged for parameters
* Use versionchanged for Bot.is_owner
* Fix references in v1.3 changelog
* Improve grammar in v1.3 changelog
2020-01-22 23:55:05 -05:00
Rapptz
02397306b2 Drop superfluous zero in version related changes in the documentation 2020-01-21 03:47:56 -05:00
Rapptz
6071607176 Bump copyright year to 2020
Closes #2510
2020-01-19 20:03:00 -05:00
Zomatree
1b4b6f8da2 updated the docs for Guild.vanity_invite 2020-01-14 22:07:38 -05:00
Rapptz
bfaf8ecfdb Allow Guild.fetch_members to take in limit=None
Fixes #2473
2020-01-12 02:44:16 -05:00
NCPlayz
9c6a121644 Implement discord.MessageFlags
Refactor flags placement and use it for suppression.
2019-12-20 20:56:40 -05:00
NCPlayz
a74bdaa8b2 Add Guild.discovery_splash_url/_as, Guild.rules_channel 2019-12-19 22:19:04 +00:00
Leaf ▲
ab3eab135f Removed MEMBER_LIST_DISABLED, added PUBLIC_DISABLED 2019-12-17 00:15:16 -05:00
Rapptz
924398c1ac Trailing whitespace in documentation. 2019-11-20 01:43:01 -05:00
Xua
f912758a1f Prevent premium_subscription_count being None 2019-10-17 05:56:01 -04:00
Io Mintz
2a0766795f Make Guild.default_role use get_role.
Prevents some stale caching by using the new O(1) Guild.get_role.
2019-10-17 05:56:01 -04:00
Capn
b63f4f7032 Add MEMBER_LIST_DISABLED to docs for Guild.features 2019-10-17 05:56:01 -04:00
Evan
e67c260f3e
The LURKABLE feature has been renamed to PUBLIC 2019-09-21 18:43:52 +02:00
Dimbreath
b4358d0dcf [docs] You can upload gifs using guild.edit()
Only if it has ANIMATED_ICON feature.
2019-09-10 21:10:59 -04:00
Rapptz
18fe2035ef Document that the cache retrieval functions require an int ID.
Closes #2285
2019-07-23 04:01:14 -04:00
Rapptz
5b2f630848 Add Guild.query_members to fetch members from the gateway. 2019-07-15 07:56:48 -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
203d702d46 Add unused Guild.preferred_locale 2019-06-29 20:17:18 -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
NCPlayz
dfcf9cdb0a Rename error type for X.fetch_channel(s). 2019-06-12 00:47:42 -04:00
Rapptz
655aa39603 Fix reference typo in SystemChannelFlags 2019-06-09 00:38:46 -04:00
NCPlayz
126f4f8271 Implement Guild.get_all_premium_subscribers 2019-06-08 21:19:10 +01:00
Rapptz
c97b097f07 Document new Guild.features 2019-06-07 22:26:05 -04:00
NCPlayz
3c9bcc2851 Improve documentation 2019-06-07 19:27:46 -04:00
NCPlayz
f7c6c5995d Implementing GET '/channels/:id' & '/guilds/:id/channels'
Signed-off-by: NCPlayz <chowdhurynadir0@outlook.com>
2019-06-07 19:12:59 -04:00
Rapptz
320dbc0618 Add support for system channel flags 2019-06-06 22:30:02 -04:00
Rapptz
fcf02414fe Fix stray colon in Asset related docstrings 2019-06-04 19:06:31 -04:00
Rapptz
9674055c2a Add support for animated guild icons. 2019-06-04 19:04:44 -04:00
Rapptz
a048815c60 Add Guild.premium_subscription_count 2019-06-04 18:30:46 -04:00
Rapptz
e40c68b75a Add Guild.premium_tier and corresponding limits. 2019-06-04 18:30:46 -04:00
Rapptz
2cd6d771ec Make __repr__ slightly more detailed and add a few missing ones.
This includes raw events (which didn't have any) and a few other
types that were missing them. Upon review some more useful fields were
added to the repr output which would be more useful during debugging.
2019-05-26 02:32: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
Vexs
bf5b267c55 Correct the documentation for methods and properties that return Assets 2019-05-14 19:13:48 -04:00
DevilXD
b8e45afe9a Fixed TextChannel edit method missing slowmode unit 2019-04-29 23:34:17 -04:00
Rapptz
30d87ca557 Add currently undocumented premium_tier field.
Needs more testing to find out what it is.
2019-04-20 13:49:13 -04:00
Rapptz
519f0c07ea Add compute_prune_count to Guild.prune_members
Fix #2085
2019-04-14 17:33:57 -04:00