aboutsummaryrefslogtreecommitdiff
path: root/discord/guild.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Modernize code to use f-stringsRapptz2021-04-041-9/+10
| | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`.
* Implement StageChannel and related methodsNadir Chowdhury2021-04-031-0/+44
|
* [docs] Add rtc_region parameter for Guild.create_voice_channelNadir Chowdhury2021-04-021-0/+5
|
* Implement voice region changing for voice channelsTarek2021-04-011-0/+7
|
* [docs] Fix fetch_members/guilds documentationNadir Chowdhury2021-03-311-3/+1
|
* Fallback to empty string for unavailable guild __str__Rapptz2021-03-251-1/+1
|
* Add roles to guild.estimate_pruned_membersz03h2021-03-241-2/+10
|
* Disallow empty sequences in Guild.query_members user_id parameterRapptz2021-02-281-7/+10
|
* Fix docstring for Guild.create_roleArthaxeres2021-02-241-1/+1
|
* Add remaining template endpointsNadir Chowdhury2021-02-231-0/+53
|
* Deprecate non-bot methodsNadir Chowdhury2021-02-231-0/+3
|
* Fix typo in Guild.fetch_member docsSebastian Law2021-02-221-1/+1
|
* Document BanEntryMaya2021-02-211-13/+6
|
* Add versionchanged to guild.create_roleZomatree2021-01-261-0/+3
|
* Change copyright year to presentNihaal Sangha2021-01-151-1/+1
|
* Support setting the preferred locale via Guild.editRapptz2021-01-051-1/+4
| | | | Fix #6267
* Implement presences for `Guild.query_members`Nadir Chowdhury2020-12-311-3/+14
|
* Allow `Guild.create_role` to accept an int as the `colour` parameter.Alex Nørgaard2020-12-251-1/+3
|
* Document more guild featuresRapptz2020-12-221-0/+2
|
* Add support for editing and deleting webhook messages.Rapptz2020-12-091-2/+2
| | | | Fix #6058
* Update documentation for rules/updates channelsRocketRace2020-12-031-3/+3
|
* [chore] Remove redundant importsNadir Chowdhury2020-11-281-2/+1
| | | This also removes the historical patch for NullHandler implemented in bbf1c54, as it has been available since Python 3.1.
* Fix `UnboundLocalError` for editing `public_updates_channel`Nadir Chowdhury2020-11-281-3/+3
|
* Implement role tags.Rapptz2020-11-261-0/+24
| | | | | | | | | | | This comes with: * The RoleTags class * Role.is_premium_subscriber() * Role.is_bot_managed() * Role.is_integration() * Guild.self_role * Guild.premium_subscriber_role
* Fix error with templates not having access to member cache flags.Rapptz2020-11-211-2/+2
| | | | | | This also changes the attribute from having an underscore Fix #5986
* Raise ClientException when members intent is not enabled on guild.fetch_membersLukas2020-11-211-1/+8
|
* Fixed incorrectly named 'Intent' class in doc.Nekokatt2020-09-261-1/+1
| | | `Intent.members` -> `Intents.members`.
* Mention potential Guild.member_count accuracy issuesRapptz2020-09-231-1/+8
|
* Allow finer grained control over the member cache.Rapptz2020-09-231-2/+3
|
* Raise if member intent is not enabledRapptz2020-09-231-0/+9
|
* Don't cache members during guild start up if cache is disabled.Rapptz2020-09-231-1/+4
| | | | | | | This is mainly a half-implemented commit. There are a few more places where cache consistency is necessary. In the future there will probably be a member cache policy enum that will be used and cache consistency will be tackled in part of that larger refactoring.
* Add Guild.chunk and deprecated Client.request_offline_membersRapptz2020-09-231-5/+21
|
* Rewrite chunking to work with intents.Rapptz2020-09-231-11/+13
| | | | | | | | This slows down chunking significantly for bots in a large number of guilds since it goes down from 75 guilds/request to 1 guild/request. However the logic was rewritten to fire the chunking request immediately after receiving the GUILD_CREATE rather than waiting for all the guilds in the ready stream before doing it.
* Implement VoiceProtocol lower level hooks.Rapptz2020-09-231-1/+1
| | | | | This allows changing the connect flow and taking control of it without relying on internal events or tricks.
* Add COMMUNITY to Guild.featuresAlex Nørgaard2020-09-041-0/+1
|
* Fix bug with Guild.by_category not showing some channelsRapptz2020-08-221-6/+6
| | | | | | If categories come after a child channel in the dictionary mapping for whatever reason, then the previous code would remove it from the mapping and set it to []. This commit aims to fix this.
* Specify where to get max_members in documentationJaime Garcia Jr2020-07-311-1/+5
|
* Added exception documentation for Guild.create_voice_channelSkezza2020-07-221-0/+18
|
* Add double backticks for some parameter mentions in the documentation.Skezza2020-07-221-1/+1
|
* Add Guild.change_voice_state to control our voice state.jack11422020-07-221-0/+20
|
* Documentation formattingSkezza2020-06-301-2/+2
|
* Fix typo with voice_client documentationSkezza2020-06-301-1/+1
|
* [bugs] stop resolving Object for template/invite; remove dupe methodsNCPlayz2020-06-291-54/+11
|
* Add support for bulk editing role positionsNadir Chowdhury2020-06-281-0/+66
|
* Add support for integrationsNadir Chowdhury2020-06-281-0/+96
|
* Fix various inconsistencies within the documentation (#5067)Sebastian Law2020-06-281-7/+17
|
* Fix a KeyError for channels with no category in Guild.by_categoryRapptz2020-06-271-1/+4
|
* Fix Guild.by_category not showing empty categories.Rapptz2020-06-271-2/+3
|
* Fix error raised when using the roles parameter.Tarek2020-06-261-1/+1
|
* Add user_ids fields for query_membersTarek2020-05-291-2/+13
|