Nadir Chowdhury
3c6279b947
Implement Guild Scheduled Events
3 years ago
mniip
d5f23dbfc2
Fix docs for Guild.mfa_level
3 years ago
jack1142
e44dd3dee5
Fix position of versionadded and add new versionchanged
3 years ago
Josh
2b69b5d545
Remove discord.InvalidArgument
This uses TypeError and ValueError instead.
3 years ago
Rapptz
0eb2f32399
Remove VoiceRegion enum and Guild.region attribute
This has been marked deprecated by Discord and it was more or less
usually out of date due to the pace they added them anyway.
3 years ago
mniip
ff90e7e747
GUILD_UPDATE audit logs
3 years ago
Josh
285069de08
Fix types in guild.py
3 years ago
Josh
70b577e94b
Fix typing in voice related files
3 years ago
Rapptz
c406951532
Fix typing errors in Guild.audit_logs
3 years ago
Rapptz
88b520b5ab
Reformat code using black
Segments where readability was hampered were fixed by appropriate
format skipping directives. New code should hopefully be black
compatible. The moment they remove the -S option is probably the moment
I stop using black though.
3 years ago
Josh
4dbe1af32f
Update sphinx and fix documentation issues
3 years ago
Kaylynn Morgan
588cda0996
Refactor AsyncIter to use 3.6+ asynchronous generators
3 years ago
jack1142
dc19c6c7d5
Add positional-only arguments in more places
3 years ago
Maya
0b77b52da2
Add support for animated guild banners
https://github.com/discord/discord-api-docs/pull/3948
3 years ago
jack1142
783513726f
Add support for role icons
* Document ROLE_ICONS guild feature
https://github.com/discord/discord-api-docs/pull/3847
* Add support for role icons
https://github.com/discord/discord-api-docs/pull/3847
* Add support for role icon/emoji changes in audit log
https://github.com/discord/discord-api-docs/pull/3847
3 years ago
Izhar Ahmad
efec816de2
Make arguments positional only in 2 get methods
- Member.get_role
- Guild.get_member
4 years ago
Rapptz
490bbffc93
Remove in-place edits and return fresh instances instead
Fixes #4098
4 years ago
Nadir Chowdhury
d4c683738d
default to 0 instead of 15 for Guild.sticker_limit
4 years ago
Rapptz
b73f02b9c3
Remove deprecated TextChannel.active_threads for Guild version
This also fills in the ThreadMember data from the endpoint
4 years ago
la
8ac5cdc314
Fix Guild.fetch_channel not working for threads
4 years ago
Nadir Chowdhury
60d82cf908
implement guild stickers
4 years ago
Rapptz
0d3bd3083c
Add Guild.get_channel_or_thread helper method
The name might change in the future, unsure.
4 years ago
Nadir Chowdhury
f14e584304
Sync Guild.features to documentation
4 years ago
Alex Nørgaard
d1dc41ec2f
Fix Client.fetch_channel not returning Thread
4 years ago
Nadir Chowdhury
2d597e310b
Fix Interaction.channel being None in threads
4 years ago
Rapptz
1aeec34f84
Typehint Member and various typing fixes
4 years ago
Rapptz
2beee8be14
Type hint channel.py
4 years ago
Rapptz
a75cd93acc
Fix Guild.vanity_invite causing an error when guild has it unset
FIx #7103
4 years ago
RobotHanzo
75477b2995
Fix incorrect typehints in Guild.create_role
4 years ago
Rapptz
f0c76a13d3
Fix guild documentation not showing up for some methods
4 years ago
Rapptz
0dd4c4c08c
Don't use class attribute syntax for Guild typings
4 years ago
Rapptz
7dccbace78
Refactor Guild to support type hints
This patch also does the following:
* Sets some parameters to be positional only
* Changes Guild.edit to use the MISSING sentinel
* Changes the various create_channel methods to be type safe
* Changes many parameters from Optional[T] to use MISSING
* Changes Guild.create_role to use MISSING sentinel
This refactor is mostly partial but lays a decent foundation
4 years ago
Rapptz
bd369c76ea
Parse remaining thread events.
4 years ago
Rapptz
429c5933d9
Add minor parsing for THREAD_LIST_SYNC and THREAD_MEMBER_UPDATE
There's no dispatch for these yet
4 years ago
Rapptz
ac95b8b85b
Allow Message.channel to be a thread
4 years ago
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