Rapptz
68c7c538f5
First pass at preliminary thread support
This is missing a lot of functionality right now, such as two gateway
events and all the HTTP CRUD endpoints.
4 years ago
Nadir Chowdhury
a7ae2eb1bb
Add Guild.nsfw_level
4 years ago
TheLeadingLlama
2ea2693bd7
Add the Guild.delete_custom_emoji method
4 years ago
MhmCats
0847085661
Add support for editing guild widgets
4 years ago
Nadir Chowdhury
9f98a9a87f
Implement StageInstance
4 years ago
Rapptz
d78e5d979d
Refactor and type hint invites
4 years ago
Rapptz
794327cdb4
Fix type errors with required keys in the integration types
4 years ago
Maya
4d7822493f
Add support for bot integrations
4 years ago
Josh
5fa64e83e0
Fix issues with imports causing NameErrors
4 years ago
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