aboutsummaryrefslogtreecommitdiff
path: root/discord/channel.py
Commit message (Collapse)AuthorAgeFilesLines
* Add TextChannel.members to get members that can see a channel.Rapptz2017-02-281-0/+5
|
* Rename VoiceChannel.voice_members to VoiceChannel.membersRapptz2017-02-281-1/+1
|
* Move purge and delete_messages from Messageable.Rapptz2017-02-261-0/+144
| | | | | | This is a breaking change. Move these two to TextChannel since the other things that implement Messageable cannot reliably do bulk delete actions in their respective channels.
* Fix NameError in GroupChannel.Rapptz2017-02-101-1/+1
|
* Better group DM support.Rapptz2017-02-091-1/+104
|
* Update copyright year to 2017.Rapptz2017-01-201-1/+1
|
* Remove _get_guild_id from Messageable ABC.Rapptz2017-01-141-9/+0
|
* VoiceChannel.voice_members is now computed when needed.Rapptz2017-01-081-5/+13
|
* Fix NameError when dealing with permission resolution.Rapptz2017-01-031-0/+10
|
* Change Messageable channel getter to be a coroutine.Rapptz2017-01-031-0/+3
|
* Move message creation to a factory method inside ConnectionState.Rapptz2017-01-031-5/+5
|
* Rename MessageChannel abc to Messageable.Rapptz2017-01-031-9/+18
|
* Move GuildChannel over to abc module.Rapptz2017-01-031-265/+2
|
* Add useful repr to all data classes.Rapptz2017-01-031-0/+12
|
* Absolute import some circular dependencies to appease Python 3.4.Rapptz2017-01-031-11/+13
|
* Rename try_insert_user to store_userRapptz2017-01-031-2/+2
|
* Make emojis and members stateful.Rapptz2017-01-031-2/+4
|
* Rename Server to Guild everywhere.Rapptz2017-01-031-33/+33
|
* Split channel types.Rapptz2017-01-031-118/+350
| | | | | | | | | | | This splits them into the following: * DMChannel * GroupChannel * VoiceChannel * TextChannel This also makes the channels "stateful".
* Slots use tuples instead now.Rapptz2017-01-031-1/+1
|
* Switch IDs to use int instead of strRapptz2017-01-031-8/+8
|
* Begin working on the rewrite.Rapptz2017-01-031-42/+42
|
* Add Channel.overwrites to get a channel's permission overwrites.Rapptz2016-12-171-0/+28
| | | | Fixes #414.
* Fix bug when permission overwrites could be applied out of order.Rapptz2016-09-101-1/+7
| | | | | | | | | The bug was due to the fact that the way overwrites work is by doing a loop of all the values and then applying deny first and then allow. That way the overwrite is defined if role A and role B deny a permission but role C allows it (and said member has A, B, C roles) then the resolution should allow it rather than deny it regardless of the order of the data it is received in.
* Make PrivateChannel.__str__ more useful for groups.Rapptz2016-07-151-4/+16
| | | | Also demote is_private to a property instead of a slot.
* Add support for different message types and call message.Rapptz2016-07-131-1/+4
|
* Handle CHANNEL_UPDATE for group direct messages.Rapptz2016-07-131-11/+3
|
* Begin working on gateway v6 changes.Rapptz2016-07-131-10/+61
| | | | | The first batch of changes are related to channel types and group direct messages. Support these first so READY begins parsing.
* Add implicit cases to permission resolution in Channel.permissions_forRapptz2016-06-281-0/+19
|
* Support for v5 Gateway.Rapptz2016-06-221-1/+1
|
* Make Channel.overwrites_for return PermissionOverwriteRapptz2016-06-141-10/+11
|
* Make Channel.changed_roles into an on-the-fly property instead.Rapptz2016-06-011-18/+18
|
* Add __slots__ for discord.Channel.Rapptz2016-05-201-0/+4
| | | | Not sure why this was missing.
* Add support for voice channel user limits.Rapptz2016-05-201-0/+3
|
* Fix Channel.permissions_for to work with the new permission system.Rapptz2016-05-121-12/+7
|
* Add Channel.overwrites_for function to get allow/deny pairs.Rapptz2016-04-121-0/+31
|
* Clarify Channel.position documentation.Rapptz2016-03-251-1/+4
|
* Add missing created_at properties for other objects.Rapptz2016-03-251-0/+10
| | | | Such as Channel, PrivateChannel, Object and Role.
* Fix bug where the everyone role was not being properly resolved.Rapptz2016-02-241-2/+19
| | | | | | The permissions_for assumed that the everyone role would be the first element of the permission overwrites but this is not guaranteed so we have to guarantee it ourselves.
* Add channel specific bitrates.Rapptz2016-02-181-0/+3
|
* Fix PrivateChannel.permissions_for not having self parameter.Rapptz2016-01-221-1/+1
|
* Documentation fixes for Permissions related code.Rapptz2016-01-141-1/+1
|
* Change internal update functions to have a leading underscore.Rapptz2016-01-111-2/+2
|
* Update license of files to 2016.Rapptz2016-01-041-1/+1
|
* Change permissions to remove the can_ prefix.Rapptz2016-01-031-10/+10
|
* Add __slots__ where appropriate to data classes.Rapptz2015-12-191-0/+2
|
* Fix Channel.permissions_for attribute error.Rapptz2015-12-171-2/+2
|
* Most data classes now support hashing.Rapptz2015-12-171-3/+7
|
* Channel.is_default_channel is now a property named is_default.Rapptz2015-12-161-1/+2
|
* All data classes now support !=, == and str(obj).Rapptz2015-12-131-2/+33
|