aboutsummaryrefslogtreecommitdiff
path: root/discord/guild.py
Commit message (Collapse)AuthorAgeFilesLines
* Make arguments positional only in 2 get methodsIzhar Ahmad2021-08-251-1/+1
| | | | - Member.get_role - Guild.get_member
* Remove in-place edits and return fresh instances insteadRapptz2021-08-231-2/+12
| | | | Fixes #4098
* default to 0 instead of 15 for Guild.sticker_limitNadir Chowdhury2021-08-191-1/+1
|
* Remove deprecated TextChannel.active_threads for Guild versionRapptz2021-08-181-3/+33
| | | | This also fills in the ThreadMember data from the endpoint
* Fix Guild.fetch_channel not working for threadsla2021-08-181-5/+6
|
* implement guild stickersNadir Chowdhury2021-07-301-5/+169
|
* Add Guild.get_channel_or_thread helper methodRapptz2021-07-291-0/+18
| | | | The name might change in the future, unsure.
* Sync Guild.features to documentationNadir Chowdhury2021-07-101-17/+24
|
* Fix Client.fetch_channel not returning ThreadAlex Nørgaard2021-07-031-2/+2
|
* Fix Interaction.channel being None in threadsNadir Chowdhury2021-07-011-0/+6
|
* Typehint Member and various typing fixesRapptz2021-06-301-1/+1
|
* Type hint channel.pyRapptz2021-06-291-1/+1
|
* Fix Guild.vanity_invite causing an error when guild has it unsetRapptz2021-06-281-3/+7
| | | | FIx #7103
* Fix incorrect typehints in Guild.create_roleRobotHanzo2021-06-281-3/+3
|
* Fix guild documentation not showing up for some methodsRapptz2021-06-111-3/+3
|
* Don't use class attribute syntax for Guild typingsRapptz2021-06-101-83/+40
|
* Refactor Guild to support type hintsRapptz2021-06-081-380/+534
| | | | | | | | | | | | 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
* Parse remaining thread events.Rapptz2021-06-081-1/+15
|
* Add minor parsing for THREAD_LIST_SYNC and THREAD_MEMBER_UPDATERapptz2021-06-081-0/+5
| | | | There's no dispatch for these yet
* Allow Message.channel to be a threadRapptz2021-06-081-0/+4
|
* First pass at preliminary thread supportRapptz2021-06-081-2/+40
| | | | | This is missing a lot of functionality right now, such as two gateway events and all the HTTP CRUD endpoints.
* Add Guild.nsfw_level Nadir Chowdhury2021-06-071-6/+5
|
* Add the Guild.delete_custom_emoji methodTheLeadingLlama2021-06-071-0/+25
|
* Add support for editing guild widgetsMhmCats2021-06-021-0/+32
|
* Implement StageInstanceNadir Chowdhury2021-05-301-2/+34
|
* Refactor and type hint invitesRapptz2021-05-291-6/+3
|
* Fix type errors with required keys in the integration typesRapptz2021-05-291-2/+2
|
* Add support for bot integrationsMaya2021-05-291-2/+9
|
* Fix issues with imports causing NameErrorsJosh2021-05-121-3/+6
|
* Type up **kwargs of various methods Nadir Chowdhury2021-05-101-19/+148
|
* Fix various reference issues in documentationJosh2021-05-061-2/+2
| | | | Co-Authored-By: Riley Shaw <[email protected]>
* Add Guild.fetch_channelRapptz2021-05-051-0/+45
|
* Add discovery_splash and community field to Guild.editNadir Chowdhury2021-05-051-6/+74
|
* Fix grammar in the Guild.edit docstringMrKomodoDragon2021-04-301-2/+2
|
* [docs] Update notes for get_user and get_member pikaninja2021-04-271-1/+1
|
* [docs] stage_channels doc typo Nadir Chowdhury2021-04-211-1/+1
|
* Add VoiceChannel.video_quality_modez03h2021-04-171-0/+4
|
* Rewrite Asset designRapptz2021-04-161-148/+31
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix guild.chunk() not working on evicted guildsSteve C2021-04-141-1/+2
| | | | 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.
* Fix exception for invalid channel typesMaya2021-04-141-1/+1
|
* Add NSFW for GuildsRobin2021-04-141-1/+7
|
* [docs] Fix reference to `Guild.id`Kino2021-04-131-1/+1
|
* Use v8 overwrite type when creating a channelNadir Chowdhury2021-04-111-3/+3
|
* Fix stray AttributeError in Guild._from_data with member cacheRapptz2021-04-111-2/+1
|
* Permission related fixes for v8Rapptz2021-04-111-2/+2
|
* Add typings for invites, templates, and bans Nadir Chowdhury2021-04-101-4/+10
|
* Use f-strings in more places that were missed.Rapptz2021-04-081-4/+4
|
* Add `__all__` to remaining modulesNadir Chowdhury2021-04-071-0/+3
|
* Convert datetimes to aware datetimes with UTC.Rapptz2021-04-041-3/+6
| | | | | Naive datetimes will now be interpreted as local time throughout the library.
* Remove userbot functionalityRapptz2021-04-041-23/+0
| | | | | 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.