Rapptz
4a76464ac9
Fix return value of Guild.chunk
3 years ago
Josh
e01d4a31eb
Replace invariant container types with wider types where applicable
3 years ago
Rapptz
61577677cd
Fix Guild.fetch_members limit parameter typing to be Optional
3 years ago
Lilly Rose Berner
6dd8845e4f
Fix Guild.audit_logs order being reversed without oldest_first and after
3 years ago
Stocker
5aa696ccfa
Fix typing issues and improve typing completeness across the library
Co-authored-by: Danny <[email protected] >
Co-authored-by: Josh <[email protected] >
3 years ago
Rapptz
d921a03911
Fix bug where Guild.member_count would clear during update events
Fix #7656
3 years ago
chromacoat dreamkey
095aaa9ad1
Change wording of InvalidArgument removal in docs
3 years ago
Rapptz
71586836e1
Add Guild.vanity_url helper property
3 years ago
Steve C
9c054e9222
Remove unbound remnants of Guild._member_count
Since now it's always Optional[int]
3 years ago
Alex Nørgaard
03687fb616
Change Guild.member_count to Optional[int]
3 years ago
Rapptz
987e27dfce
Revert all Guild.chunk changes
This method should *not* return a list of members due to the way it is
used internally.
3 years ago
Stocker
e15415413b
Add missing parameters to certain methods
- slowmode_delay and reason in Message.create_thread
- slowmode_delay in TextChannel.create_thread
- reason in Guild.edit_widget
3 years ago
Sebastian Law
b77cf500a2
Make description parameter of Guild.create_sticker non-Optional
Co-authored-by: James Hilton-Balfe <[email protected] >
3 years ago
dolfies
571a50cda5
Implement guild member support (and fix a couple other bugs) ( #224 )
* Initial guild member support
* Add back is_guild_evicted() check, fix some documentation/typing, actually use count
* Better error handling
* Fix predicate and chunking on small guilds
* Silence asyncio.CancelledErrors when bot is stopped
* Properly filter events, assert that assert_guild_presence_count() works
* Working events!!!!! (also a fix for sometimes crashing when joining a guild)
* Uniform timeouts
3 years ago
AmeyWale
a909c1ff06
Added vanity_url_code field in class guild
3 years ago
I. Ahmad
8360e4af8d
Add premium_progress_bar_enabled attribute on Guild
3 years ago
Stocker
07a1311bf4
Change Guild.preferred_locale to use the Locale enum
3 years ago
Rapptz
82464419ce
Fix black reformatting on guild file
Black seems to not properly run on 2nd commits on PRs so this slid
through.
3 years ago
Steve C
e9c91a535a
Fix Guild.chunk() returning list of members
3 years ago
JDJG Inc. Official
e69428a841
Add with_counts support for Client.fetch_guild
Co-authored-by: Stocker <[email protected] >
Co-authored-by: Danny <[email protected] >
3 years ago
Rapptz
13e102b6b9
Add default parameter to CommandTree.sync
I'm not sure how I feel about this, since explicitly passing
guild=None seems better.
3 years ago
Scrumpy (Jay)
3d0309ca4a
Documenting that guild.chunk() returns list of members
3 years ago
Rapptz
d44328d3ea
Remove region from Guild.__slots__
This also fixes up some docstrings
3 years ago
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
dolfies
67cf0ecc52
Remove inbuilt feature list
3 years ago
dolfies
d9c90a8af6
Fix WelcomeScreen typos
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
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