aboutsummaryrefslogtreecommitdiff
path: root/discord/guild.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix crashing for now when a category is created.Rapptz2017-09-081-2/+3
| | | | A full implementation will come later.
* Add webhook support.Rapptz2017-08-211-0/+23
| | | | | | | Allows for usage of either `requests` and `aiohttp` when used in "Standalone" mode. Fixes #704
* Add support for Guild.system_channelRapptz2017-08-171-1/+23
|
* Remove Guild.create_invite too since it relies on a default channel.Rapptz2017-07-311-38/+0
|
* Remove Guild.default_channelRapptz2017-07-311-7/+7
| | | | The concept no longer exists.
* add Guild.icon_url_askhazhyk2017-07-251-1/+35
| | | | Guild icons can also be up to 1024px, jpg, png, or webp
* Fix passing None to afk_channel in Guild.edit.Rapptz2017-06-191-3/+11
|
* Document that exceptions happen in Guild.audit_logs.Rapptz2017-05-251-0/+7
|
* Use Python3Lexer instead of PythonLexer for pygments.Rapptz2017-05-221-2/+2
|
* Make supported operations stand out more than attributes.Rapptz2017-05-201-8/+10
|
* Use describe instead of tables for supported operations.Rapptz2017-05-131-13/+15
|
* First pass at documentation reform.Rapptz2017-05-121-4/+4
|
* Remove Guild.change_vanity_invite in favour of Guild.editRapptz2017-05-091-29/+11
|
* Rename GuildRegion to VoiceRegion.Rapptz2017-05-091-4/+4
| | | | | This naming makes more sense since voice regions are not a guild exclusive concept.
* Add support for audit log reasons.Rapptz2017-05-071-20/+42
| | | | Most routes now have a 'reason' keyword argument.
* Add support for setting and retrieving guild vanity invites.Rapptz2017-04-301-0/+55
|