Rapptz
9f47d7f71c
Fix cases where member_count is equal to 0
Fixes #4008 , #4005
5 years ago
Arthur
ad87bfb395
Guild.owner may be None for very large guilds.
5 years ago
Jake Ward
c782ac3254
Update documentation on guild features to reflect Discord changes
5 years ago
Ilya Lukyanov
d2cc8aa459
Add position argument to Guild.create_category
This way we can specify category position upon creation
5 years ago
PredaaA
9941812241
Add "FEATURABLE" in guild features.
5 years ago
Rapptz
cbca33e44f
Guard against the member data not being available in VOICE_STATE_UPDATE
5 years ago
Rapptz
3b8678da81
Use member data from VOICE_STATE_UPDATE if not found in cache
5 years ago
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
5 years ago
Rapptz
02397306b2
Drop superfluous zero in version related changes in the documentation
5 years ago
Rapptz
6071607176
Bump copyright year to 2020
Closes #2510
5 years ago
Zomatree
1b4b6f8da2
updated the docs for Guild.vanity_invite
5 years ago
Rapptz
bfaf8ecfdb
Allow Guild.fetch_members to take in limit=None
Fixes #2473
5 years ago
NCPlayz
9c6a121644
Implement discord.MessageFlags
Refactor flags placement and use it for suppression.
5 years ago
NCPlayz
a74bdaa8b2
Add `Guild.discovery_splash_url/_as`, `Guild.rules_channel`
5 years ago
Leaf ▲
ab3eab135f
Removed MEMBER_LIST_DISABLED, added PUBLIC_DISABLED
5 years ago
Rapptz
924398c1ac
Trailing whitespace in documentation.
5 years ago
Xua
f912758a1f
Prevent premium_subscription_count being None
6 years ago
Io Mintz
2a0766795f
Make Guild.default_role use get_role.
Prevents some stale caching by using the new O(1) Guild.get_role.
6 years ago
Capn
b63f4f7032
Add MEMBER_LIST_DISABLED to docs for Guild.features
6 years ago
Evan
e67c260f3e
The LURKABLE feature has been renamed to PUBLIC
6 years ago
Dimbreath
b4358d0dcf
[docs] You can upload gifs using guild.edit()
Only if it has ANIMATED_ICON feature.
6 years ago
Rapptz
18fe2035ef
Document that the cache retrieval functions require an int ID.
Closes #2285
6 years ago
Rapptz
5b2f630848
Add Guild.query_members to fetch members from the gateway.
6 years ago
Rapptz
edcd9459e3
Use Guild.owner_id in Guild.edit when checking if the bot owns a guild.
6 years ago
Rapptz
203d702d46
Add unused Guild.preferred_locale
6 years ago
NCPlayz
5698cf6df9
Implement `Guild.fetch_roles`
6 years ago
NCPlayz
851f83c821
Implement `Guild.fetch_members`
Also implements `MemberIterator`.
6 years ago
NCPlayz
dfcf9cdb0a
Rename error type for `X.fetch_channel(s)`.
6 years ago
Rapptz
655aa39603
Fix reference typo in SystemChannelFlags
6 years ago
NCPlayz
126f4f8271
Implement `Guild.get_all_premium_subscribers`
6 years ago
Rapptz
c97b097f07
Document new Guild.features
6 years ago
NCPlayz
3c9bcc2851
Improve documentation
6 years ago
NCPlayz
f7c6c5995d
Implementing GET '/channels/:id' & '/guilds/:id/channels'
Signed-off-by: NCPlayz <[email protected] >
6 years ago
Rapptz
320dbc0618
Add support for system channel flags
6 years ago
Rapptz
fcf02414fe
Fix stray colon in Asset related docstrings
6 years ago
Rapptz
9674055c2a
Add support for animated guild icons.
6 years ago
Rapptz
a048815c60
Add Guild.premium_subscription_count
6 years ago
Rapptz
e40c68b75a
Add Guild.premium_tier and corresponding limits.
6 years ago
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.
6 years ago
Ehren Julien-Neitzert
fc5a2936dd
Fix pluralization errors in various files
* Replaced instances of 'return an' with 'returns an'
* fixed pluralization errors
6 years ago
Vexs
bf5b267c55
Correct the documentation for methods and properties that return Assets
6 years ago
DevilXD
b8e45afe9a
Fixed TextChannel edit method missing slowmode unit
6 years ago
Rapptz
30d87ca557
Add currently undocumented premium_tier field.
Needs more testing to find out what it is.
6 years ago
Rapptz
519f0c07ea
Add compute_prune_count to Guild.prune_members
Fix #2085
6 years ago
Vexs
4df0f79a6b
Add notes warning that fetch_ methods are api calls
Also recommends using cache attributes/methods instead
6 years ago
Rapptz
51c64a3b73
Fix documentation so Sphinx can build semi-cleanly.
6 years ago
khazhyk
52c45da0bc
simplify AuditLogIterator ordering
rename reverse to oldest_first and remove cases where messages would
be ordered differently from the order we fetch audit log entries,
similar to HistoryIterator
6 years ago
NCPlayz
1d701f32b6
Add fetch custom emoji, all custom emojis; Add user property to Emoji
6 years ago
NCPlayz
be227ebcf0
Redesign asset retrieval in the library.
Most assets now return a new class named `Asset`. This allows for the
assets to be consistently saved via a `save` method instead of special
casing for `Attachment`.
`AppInfo` is no longer a namedtuple it is a fully documented dataclass,
as well as having the state attached to it.
Fixes #1997
6 years ago
numbermaniac
77dd4e3de0
guild.py: change wording for create_role error
6 years ago