aboutsummaryrefslogtreecommitdiff
path: root/discord/guild.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Remove reference to "whitelisted" bots for emoji endpointsPandentia2017-10-031-5/+0
| | | | | | Due to a recent change in the Discord API, bots can now create guild-specific emoji, so I've removed the parts of the documentation referencing this restriction.
* Allow creating a channel with a category.Rapptz2017-09-291-6/+17
|
* Fix Guild.system_channel always returning None.Rapptz2017-09-261-1/+1
| | | | Fixes #811
* Temporarily add created channels to cache.Rapptz2017-09-231-3/+15
| | | | | | | This should fix issues when doing a `abc.GuildChannel.edit` immediately afterwards and then when the corresponding CHANNEL_CREATE comes in the channel instance should hopefully be overwritten by the authoritative figure, the WebSocket.
* Fix sorting for channels.Rapptz2017-09-211-5/+5
|
* [guild] use a defaultdict in by_categoryJake2017-09-201-8/+3
|
* Fix error when creating guild channels.Rapptz2017-09-131-2/+2
|
* Add Guild.create_category.Rapptz2017-09-131-2/+12
| | | | An alias, Guild.create_category_channel is provided.
* Add category support.Rapptz2017-09-131-4/+50
| | | | | | | | | | | | | This adds: * CategoryChannel, which represents a category * Guild.by_category() which traverses the channels grouping by category * Guild.categories to get a list of categories * abc.GuildChannel.category to get the category a channel belongs to * sync_permissions keyword argument to abc.GuildChannel.edit to sync permissions with a pre-existing or new category * category keyword argument to abc.GuildChannel.edit to move a channel to a category
* Document new features for guilds.Rapptz2017-09-121-0/+2
|