Nihaal Sangha
69bdc3a184
Change copyright year to present
4 years ago
Rapptz
3a75816ba1
Support setting the preferred locale via Guild.edit
Fix #6267
4 years ago
Nadir Chowdhury
59c11e71a2
Implement presences for `Guild.query_members`
4 years ago
Alex Nørgaard
624a9c8687
Allow `Guild.create_role` to accept an int as the `colour` parameter.
4 years ago
Rapptz
eb11079569
Document more guild features
4 years ago
Rapptz
44dc7a8e02
Add support for editing and deleting webhook messages.
Fix #6058
4 years ago
RocketRace
a39c957ba5
Update documentation for rules/updates channels
4 years ago
Nadir Chowdhury
6b803acde4
[chore] Remove redundant imports
This also removes the historical patch for NullHandler implemented in bbf1c54
, as it has been available since Python 3.1.
4 years ago
Nadir Chowdhury
0c69c99785
Fix `UnboundLocalError` for editing `public_updates_channel`
4 years ago
Rapptz
e65dab3b23
Implement role tags.
This comes with:
* The RoleTags class
* Role.is_premium_subscriber()
* Role.is_bot_managed()
* Role.is_integration()
* Guild.self_role
* Guild.premium_subscriber_role
4 years ago
Rapptz
431ee8794b
Fix error with templates not having access to member cache flags.
This also changes the attribute from having an underscore
Fix #5986
4 years ago
Lukas
873ed87caa
Raise ClientException when members intent is not enabled on guild.fetch_members
4 years ago
Nekokatt
3084deee18
Fixed incorrectly named 'Intent' class in doc.
`Intent.members` -> `Intents.members`.
5 years ago
Rapptz
9dd4dc78c3
Mention potential Guild.member_count accuracy issues
5 years ago
Rapptz
23ae084b8c
Allow finer grained control over the member cache.
5 years ago
Rapptz
e6edc44f3d
Raise if member intent is not enabled
5 years ago
Rapptz
ad917ca02d
Don't cache members during guild start up if cache is disabled.
This is mainly a half-implemented commit. There are a few more places
where cache consistency is necessary. In the future there will
probably be a member cache policy enum that will be used and cache
consistency will be tackled in part of that larger refactoring.
5 years ago
Rapptz
cb8cb557f5
Add Guild.chunk and deprecated Client.request_offline_members
5 years ago
Rapptz
930761e058
Rewrite chunking to work with intents.
This slows down chunking significantly for bots in a large number of
guilds since it goes down from 75 guilds/request to 1 guild/request.
However the logic was rewritten to fire the chunking request
immediately after receiving the GUILD_CREATE rather than waiting for
all the guilds in the ready stream before doing it.
5 years ago
Rapptz
0b93fa3a82
Implement VoiceProtocol lower level hooks.
This allows changing the connect flow and taking control of it without
relying on internal events or tricks.
5 years ago
Alex Nørgaard
5e4f3780ed
Add COMMUNITY to Guild.features
5 years ago
Rapptz
11f29890dc
Fix bug with Guild.by_category not showing some channels
If categories come after a child channel in the dictionary mapping for
whatever reason, then the previous code would remove it from the
mapping and set it to []. This commit aims to fix this.
5 years ago
Jaime Garcia Jr
ab1c606ff2
Specify where to get max_members in documentation
5 years ago
Skezza
4a686e11ba
Added exception documentation for Guild.create_voice_channel
5 years ago
Skezza
2552a268cb
Add double backticks for some parameter mentions in the documentation.
5 years ago
jack1142
1ca257bb68
Add Guild.change_voice_state to control our voice state.
5 years ago
Skezza
c3bca7ec73
Documentation formatting
5 years ago
Skezza
e7500f738c
Fix typo with voice_client documentation
5 years ago
NCPlayz
ce03c62c6b
[bugs] stop resolving Object for template/invite; remove dupe methods
5 years ago
Nadir Chowdhury
b68cbb7a42
Add support for bulk editing role positions
5 years ago
Nadir Chowdhury
a64006ee9b
Add support for integrations
5 years ago
Sebastian Law
b4b953bfc6
Fix various inconsistencies within the documentation ( #5067 )
5 years ago
Rapptz
f94b00cb48
Fix a KeyError for channels with no category in Guild.by_category
5 years ago
Rapptz
c01bf7cd56
Fix Guild.by_category not showing empty categories.
5 years ago
Tarek
4bdebcd339
Fix error raised when using the roles parameter.
5 years ago
Tarek
a972c95f12
Add user_ids fields for query_members
5 years ago
numbermaniac
0140e1ed6a
Fix documentation string for guild.premium_subscription_count
5 years ago
Rapptz
1ee1b7feea
Consistent usage of RST inline code within Guild.features references
5 years ago
NCPlayz
ed80ba6a5e
Implement some missing attributes of `Guild` (and `Guild.edit`)
5 years ago
NCPlayz
40a4604604
use `_channel_factory` instead of manual checking in `Guild._sync`
5 years ago
iomintz
559c464d3b
fix HTTPException explanation in Guild.fetch_member docs
5 years ago
Xua
5107583c5d
fix NotificationLevel being suppressed
5 years ago
unknown
b7c7c86a6b
Add roles parameter for pruning members.
5 years ago
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