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
dolfies
4c4e9baa42
Actually fix thread handling for realsies
3 years ago
dolfies
627635cbc3
Fix thread events, add a missing thread field, fix reason not being sent when editing threads
3 years ago
dolfies
332e408658
various changes; prepare for scheduled event support
3 years ago
dolfies
341577ff0f
Forgot an exception existed
3 years ago
dolfies
08934ba22a
Implement welcome screen
3 years ago
dolfies
93b4d06f52
Implement role icons
3 years ago
dolfies
0ada5f28ac
Document more features
3 years ago
dolfies
1a1b9cf15a
Implement connections, add fetch_sticker_pack, fix some small issues
3 years ago
dolfies
c2d854ce8c
*Maybe add guild methods too :(*
3 years ago
dolfies
749de62991
Move Interaction to its own file
3 years ago
dolfies
d49cb077e7
Formatting
3 years ago
dolfies
9503a1af83
Allow enabling guild_progress_bar
3 years ago
dolfies
d20b444bfb
Preliminary thread support
4 years ago
dolfies
6c021e4d56
Remove now useless mute() and unmute() methods
4 years ago
dolfies
1646421cc0
Implement guild notification settings
4 years ago
dolfies
21727baa07
Add missing guild attributes
4 years ago
dolfies
7b11d8c256
Get it starting
4 years ago
dolfies
6f32b18f2b
Fix broken import
4 years ago
dolfies
efa0b4324e
Migrate a few more methods
4 years ago
dolfies
7ce2621591
Add owner_application_id
4 years ago
dolfies
da587ba296
Migrate guild (except for subscribe())
4 years ago
dolfies
3429980d0c
Migrate
4 years ago
dolfies
9c5e4882ef
Initial de-botting
4 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