aboutsummaryrefslogtreecommitdiff
path: root/discord/guild.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed TextChannel edit method missing slowmode unitDevilXD2019-04-291-2/+2
|
* Add currently undocumented premium_tier field.Rapptz2019-04-201-1/+2
| | | | Needs more testing to find out what it is.
* Add compute_prune_count to Guild.prune_membersRapptz2019-04-141-5/+11
| | | | Fix #2085
* Add notes warning that fetch_ methods are api callsVexs2019-04-101-0/+13
| | | | Also recommends using cache attributes/methods instead
* Fix documentation so Sphinx can build semi-cleanly.Rapptz2019-04-081-3/+3
|
* simplify AuditLogIterator orderingkhazhyk2019-04-071-7/+5
| | | | | | rename reverse to oldest_first and remove cases where messages would be ordered differently from the order we fetch audit log entries, similar to HistoryIterator
* Add fetch custom emoji, all custom emojis; Add user property to EmojiNCPlayz2019-04-061-0/+44
|
* Redesign asset retrieval in the library.NCPlayz2019-04-061-36/+10
| | | | | | | | | | | Most assets now return a new class named `Asset`. This allows for the assets to be consistently saved via a `save` method instead of special casing for `Attachment`. `AppInfo` is no longer a namedtuple it is a fully documented dataclass, as well as having the state attached to it. Fixes #1997
* guild.py: change wording for create_role errornumbermaniac2019-03-241-1/+1
|
* Add Guild.max_presences and Guild.max_membersNCPlayz2019-03-221-1/+7
| | | | | Fixes #1822 Fixes #1418
* Add support for guild widgetNCPlayz2019-03-191-0/+26
|
* Expose MetadataNCPlayz2019-03-191-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added access to: * `/users/@me/guilds` * `/guilds/{guild_id}` * `/guilds/{guild_id}/members/{member_id}` BREAKING CHANGE: * `get_user_info` -> `fetch_user_info` to match naming scheme. Remove useless note Remove `reverse` and corresponding documentation Update documentation to reflect #1988 Rename `get_` HTTP functions to `fetch_` Breaking Changes: * `get_message` -> `fetch_message` * `get_invite` -> `fetch_invite` * `get_user_profile` -> `fetch_user_profile` * `get_webhook_info` -> `fetch_webhook` * `get_ban` -> `fetch_ban` Fix InviteConverter, update migrating.rst Rename get_message to fetch_message
* Organise documentationNCPlayz2019-03-191-95/+95
|
* Add support for store channels.Rapptz2019-03-171-5/+7
|
* Consider news channel type as a TextChannelJeremy "EndenDragon" Zhang2019-03-161-1/+1
|
* Add support for reading guild descriptionsNadir Chowdhury2019-03-131-1/+5
| | | Added `Guild.description` and `PartialInviteGuild.description`.
* Add support for guild bannersSnowyLuma2019-03-091-5/+60
| | | | | | | | Document banner attribute of Guild and Invite Update discord/utils.py Co-Authored-By: SnowyLuma <[email protected]>
* Add support for guild descriptionsTarek13372019-03-081-0/+3
|
* guild.py: change word in create_role's docstringnumbermaniac2019-03-081-1/+1
|
* Expose more information from partial invites, along with counts.Rapptz2019-02-121-5/+5
| | | | | | | | | | | | | This adds the following information. * `PartialInviteGuild` to replace `Object` patching * `PartialInviteChannel` to replace `Object` patching * Invite.approximate_member_count and Invite.approximate_presence_count The new partial objects provide better documentation on what is expected when you fetch random invites. Fixes #1830
* Bumped copyright years to 2019.Dante Dam2019-01-281-1/+1
|
* Allow additional parameters on channel creationTyler2019-01-281-10/+39
|
* Fix typo in exception message in Guild.editRapptz2018-12-171-2/+2
|
* Add support for explicit_content_filter in Guild.editRapptz2018-12-171-0/+7
|
* Add support for mobile indicators and per-client statuses.Rapptz2018-12-141-2/+2
|
* Fix bug in Guild.splash_urlRapptz2018-11-261-1/+1
|
* Add support for default notification level in audit logs and Guild.editRapptz2018-11-251-0/+9
|
* Add Guild.default_notificationsChris2018-11-241-2/+5
|
* Add support for multiple activitiesSnowyLuma2018-11-241-1/+1
|
* [lint] Remove extra whitespace in guild.pyHornwitser2018-11-241-1/+1
| | | | Remove trailing whitespace in guild.py introduced by 3727ea9.
* [lint] Fix import orderHornwitser2018-11-241-1/+0
| | | | | Reorder imports to be consistenly grouped by standard library, third party library, and local modules in that order thoughout the library.
* Add Guild.splash_url_asMatt (IPv4)2018-10-111-5/+36
|
* Fix up Guild.create_custom_emoji docstring.Rapptz2018-10-031-1/+1
|
* Add note regarding MORE_EMOJI in Guild.create_custom_emojiMusicOnline2018-10-031-1/+2
|
* Correct Guild.create_custom_emoji documentationMusicOnline2018-10-021-2/+2
|
* Change internal role storage in Guild to a dict instead of a list.Rapptz2018-09-241-23/+32
| | | | | | | | | | | | | | | | This adds the following APIs: * Guild.get_role This removes the following APIs: * Guild.role_hierarchy To compensate for the removed APIs, Guild.roles is now a sorted list based on hierarchy. The first element will always be the @everyone role. This speeds up access at the cost of some memory, theoretically.
* Correct note note about editing emoji in Guild.create_custom_emoji.Vexs2018-09-201-2/+0
| | | | Remove incorrect note; extension of #1575
* Fix up the Sphinx strings causing warnings.Rapptz2018-09-151-5/+5
|
* Implement roles kwarg for guild.create_custom_emoji and emoji.editPikalaxALT2018-08-221-2/+6
|
* Remove remaining asyncio.coroutine calls.bmintz2018-07-051-4/+2
| | | | Also remove Client.async_event
* Drop support for Python 3.4 and make minimum version 3.5.2.Rapptz2018-06-101-53/+36
|
* Fixes various documentation errors/inconsistenciesSteve C2018-05-181-11/+20
| | | | Mostly dealing with permissions, also fixes Raw Events inclusion.
* Document user parameter in Guild.get_banRapptz2018-05-081-0/+5
|
* Add support for getting individual ban entriesslice2018-05-071-0/+30
|
* Actually fix the order in Guild.by_category.Rapptz2018-03-311-2/+2
|
* Flip comparison in Guild.by_category.Rapptz2018-03-311-1/+1
|
* Sort voice channels below text channels in Guild.by_categoryRapptz2018-03-251-1/+1
|
* Split Game object to separate Activity subtypes for Rich Presences.Rapptz2018-03-051-3/+2
| | | | | | | | | | | This is a massive breaking change. * All references to "game" have been renamed to "activity" * Activity objects contain a majority of the rich presence information * Game and Streaming are subtypes for memory optimisation purposes for the more common cases. * Introduce a more specialised read-only type, Spotify, for the official Spotify integration to make it easier to use.
* Add intersphinxTobotimus2018-01-061-16/+16
|
* Further clarify how bots can interact with emoji endpointsPandentia2017-10-031-0/+2
| | | | | Clarifies that bot accounts can only interact with emoji they have created.