aboutsummaryrefslogtreecommitdiff
path: root/discord/member.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix Member.server_permissions docstring.Rapptz2016-10-041-1/+1
|
* Add Member.server_permissions to calculate server permissions.Rapptz2016-09-211-0/+27
|
* Make Roles totally ordered.Rapptz2016-09-211-1/+1
| | | | | This also fixes a bug with Member.top_role that chose the wrong role should they have the same position.
* Fix voice state update issue in on_voice_state_updateRapptz2016-07-231-4/+7
| | | | | | | | | Bug was caused to the shallow copy not copying over the VoiceState information embedded into the copy. This would mean that when the event is called, before and after voice state information is essentially equivalent. The solution to fix this is to also copy the VoiceState objects.
* Remove unused internal code in Member.Rapptz2016-07-221-18/+0
|
* Add support for querying information about group calls.Rapptz2016-07-151-25/+77
|
* Add Member.top_role property to get the highest role.Rapptz2016-06-181-0/+13
|
* Fix Member.colour to use the new algorithm for determining colour.Rapptz2016-05-121-4/+11
|
* Remove setting read-only __doc__ in Member overrides.Rapptz2016-04-291-4/+0
|
* Add User.mentioned_in helper to check if a message mentions you.Rapptz2016-04-291-2/+16
|
* Member.mention now uses nickname hint if needed.Rapptz2016-04-291-0/+8
|
* Add support for server specific nicknames.Rapptz2016-04-291-1/+4
|
* Add Member.colour property to get rendered role colour of a member.Rapptz2016-03-271-1/+20
|
* Move Member.permissions_in to User.permissions_in.Rapptz2016-01-211-16/+0
|
* Change member constructor to not rely on order of json data objectKhazhismel2016-01-121-7/+7
|
* Handle cases where people put False-like values for game presences.Rapptz2016-01-111-2/+2
|
* Change internal update functions to have a leading underscore.Rapptz2016-01-111-2/+2
|
* Add Member.permissions_in.Rapptz2016-01-061-0/+16
| | | | Fixes #63
* Update license of files to 2016.Rapptz2016-01-041-1/+1
|
* Add game data class, replace game_id.Khazhismel2015-12-231-5/+6
|
* Add __slots__ where appropriate to data classes.Rapptz2015-12-191-1/+5
|
* Add enumerators instead of strings.Rapptz2015-12-041-33/+24
| | | | Changes channel type, status and server region into 3.4 enums.
* Member.roles array now has the default role as the first element.Rapptz2015-11-281-1/+2
|
* Use try-except instead of checking for membership.Rapptz2015-11-201-7/+10
| | | | | | Basically, a lot of the checks revolving "if x in y" could be written more efficiently by doing the task anyway and ignoring the exception a la the EAFP guideline.
* fixed voice_members not updating when changing channelsAzza2015-11-191-0/+4
|
* Split data classes into more files.Rapptz2015-10-271-0/+101