Alex Nørgaard
5426d19dc7
Implement AutoMod
3 years ago
Sarthak Upadhyay
1ba290d8c6
Update sticker limit in _PREMIUM_GUILD_LIMITS
3 years ago
Alex Nørgaard
6a58cabf5c
Add Guild.create_forum and CategoryChannel.create_forum
3 years ago
Rapptz
75d57ab3ce
Fix warning in entity_type reassignment
3 years ago
Rapptz
3fe9fc92eb
Automatically infer entity_type when passing concrete channels
This affects Guild.create_scheduled_event and ScheduledEvent.edit
Previously, you would always be required to pass it in. However, it
makes sense to not repeat yourself if you already know it's a stage
channel or a voice channel due to the type information.
3 years ago
Nadir Chowdhury
e2d0193531
Implement WelcomeScreen
3 years ago
Rapptz
573bb32a1e
Fallback to an unavailable guild instead of an Object in interactions
3 years ago
xCirno
1607b6978b
Add widget_enabled attribute to Guild
3 years ago
I. Ahmad
e3ea4706f9
[types] Remove auto archive duration related guild features
3 years ago
z03h
9deac84eac
Fix wrong variable being returned in audit logs
3 years ago
z03h
619bc50e5d
Add application command permissions to audit log
3 years ago
Rapptz
0851e03f00
Allow creating a news channel in create_text_channel
3 years ago
Rapptz
f045b7d63c
Fix BanEntry not being exported despite being documented
3 years ago
Mad Cat
c885aa0b99
Add NotFound to ban docstring
3 years ago
lightningyx
482bd11ac7
Fix Guild.fetch_member docstring
Co-authored-by: Danny <[email protected] >
3 years ago
Daniel Grant
18a6881fd9
Add NotFound to unban docstring
3 years ago
Rapptz
d98ee567d4
Add Guild.forums property
Ran an informal poll in the official server and this name won over the
alternative Guild.forum_channels property name
3 years ago
I. Ahmad
6265723a35
Add support for archive duration in Guild.create_text_channel
3 years ago
Rapptz
23f6876492
Add initial support for forum channels
Closes #7652
3 years ago
Rapptz
58db635229
Fix parameter validation in Guild.query_members
3 years ago
Rapptz
ca9fd355e8
Fix typo in Guild.bans docstring
3 years ago
Rapptz
9acf1db076
Support ban endpoint pagination
3 years ago
Rapptz
def035bf9a
Remove StoreChannel and any references to it
3 years ago
jack1142
5ffa3e85de
Update comments after `# type: ignore` to be compatible with PEP 484
3 years ago
I. Ahmad
181fc42b9b
Remove outdated note and example
3 years ago
curiositIy
c6d113c843
Change PUBLIC to COMMUNITY in Guild.edit
3 years ago
Rapptz
5f7c5abe0a
Change ban type hints to use int instead of Literal
3 years ago
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
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