Nadir Chowdhury
757cfad38f
Type up **kwargs of various methods
4 years ago
Josh
3864fb37a0
Fix various reference issues in documentation
Co-Authored-By: Riley Shaw <[email protected] >
4 years ago
Rapptz
81004369dc
Add Guild.fetch_channel
4 years ago
Nadir Chowdhury
63974ec46d
Add discovery_splash and community field to Guild.edit
4 years ago
MrKomodoDragon
a8945b5784
Fix grammar in the Guild.edit docstring
4 years ago
pikaninja
56f4ae3a83
[docs] Update notes for get_user and get_member
4 years ago
Nadir Chowdhury
1d7f387122
[docs] stage_channels doc typo
4 years ago
z03h
304229071f
Add VoiceChannel.video_quality_mode
4 years ago
Rapptz
9eaf1e85e4
Rewrite Asset design
This is a breaking change.
This does the following transformations, assuming `asset` represents
an asset type.
Object.is_asset_animated() => Object.asset.is_animated()
Object.asset => Object.asset.key
Object.asset_url => Object.asset_url
Object.asset_url_as => Object.asset.replace(...)
Since the asset type now requires a key (or hash, if you will),
Emoji had to be flattened similar to how Attachment was done since
these assets are keyed solely ID.
Emoji.url (Asset) => Emoji.url (str)
Emoji.url_as => removed
Emoji.url.read => Emoji.read
Emoji.url.save => Emoji.save
This transformation was also done to PartialEmoji.
4 years ago
Steve C
65d48302ad
Fix guild.chunk() not working on evicted guilds
If you're trying to chunk a guild that the bot is not in,
it'll just hang on the chunk coro forever. It's weird, I know.
4 years ago
Maya
930c416ea7
Fix exception for invalid channel types
4 years ago
Robin
30310b9ab6
Add NSFW for Guilds
4 years ago
Kino
496fcf8005
[docs] Fix reference to `Guild.id`
4 years ago
Nadir Chowdhury
7cbe942a64
Use v8 overwrite type when creating a channel
4 years ago
Rapptz
217c2a1cc5
Fix stray AttributeError in Guild._from_data with member cache
4 years ago
Rapptz
40cf397ce6
Permission related fixes for v8
4 years ago
Nadir Chowdhury
1efdef3ac3
Add typings for invites, templates, and bans
4 years ago
Rapptz
99fc950510
Use f-strings in more places that were missed.
4 years ago
Nadir Chowdhury
89456022cf
Add `__all__` to remaining modules
4 years ago
Rapptz
ff7094ce96
Convert datetimes to aware datetimes with UTC.
Naive datetimes will now be interpreted as local time throughout
the library.
4 years ago
Rapptz
54288879e2
Remove userbot functionality
This has a lot of legacy and cruft so there may be some stuff I've
missed but this first pass is enough to get a clear separation.
4 years ago
Rapptz
9d39b135f4
Modernize code to use f-strings
This also removes the encoding on the top, since Python 3 does it by
default. It also changes some methods to use `yield from`.
4 years ago
Nadir Chowdhury
1b2688518e
Implement StageChannel and related methods
4 years ago
Nadir Chowdhury
e8a9726ad2
[docs] Add rtc_region parameter for Guild.create_voice_channel
4 years ago
Tarek
6524869ddd
Implement voice region changing for voice channels
4 years ago
Nadir Chowdhury
6887d3946a
[docs] Fix fetch_members/guilds documentation
4 years ago
Rapptz
8657edfc99
Fallback to empty string for unavailable guild __str__
4 years ago
z03h
fbb7ac6be1
Add roles to guild.estimate_pruned_members
4 years ago
Rapptz
4c4d75dc29
Disallow empty sequences in Guild.query_members user_id parameter
4 years ago
Arthaxeres
53bf1919c7
Fix docstring for Guild.create_role
4 years ago
Nadir Chowdhury
fb773dc1dd
Add remaining template endpoints
4 years ago
Nadir Chowdhury
427e387a2f
Deprecate non-bot methods
4 years ago
Sebastian Law
cc55a28be5
Fix typo in Guild.fetch_member docs
4 years ago
Maya
66b834b332
Document BanEntry
4 years ago
Zomatree
0d1e15bbc2
Add versionchanged to guild.create_role
4 years ago
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
5 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