aboutsummaryrefslogtreecommitdiff
path: root/discord/member.py
Commit message (Collapse)AuthorAgeFilesLines
* Attempt to change how member functions are detected for Member objectsRapptz2017-09-041-1/+1
|
* Sort roles by hierarchy instead of by ID.Rapptz2017-08-291-18/+9
| | | | Fixes #741
* Fix docstringEthan2017-08-221-1/+1
|
* Add atomic keyword argument for member role editing operations.Rapptz2017-08-211-11/+33
| | | | | | | | | | | | | | | This affects: * Member.add_roles * Member.remove_roles This is the main attempt of fixing long standing bugs like #56. Since cache consistency is too hard to ask for due to eventual consistency and this generally being one of the only main roadblocks that the cache ruins, it's best to just implement it in terms of the atomic endpoint instead. Fixes #56
* Support for discord.Object in Member.remove_roles and Member.add_rolesRapptz2017-08-091-5/+8
|
* Properly sort roles and discard everyone role in Member.colour.Rapptz2017-06-241-2/+4
|
* Use Python3Lexer instead of PythonLexer for pygments.Rapptz2017-05-221-1/+1
|
* More broken Channel references.Rapptz2017-05-201-2/+2
|
* Make supported operations stand out more than attributes.Rapptz2017-05-201-10/+12
|
* Minor speedup when doing comparisons.Rapptz2017-05-181-2/+4
| | | | Shred 2 getattr calls + 1 global lookup to 1 global lookup.
* Fix User == Member comparisons.Rapptz2017-05-181-2/+2
|
* Use describe instead of tables for supported operations.Rapptz2017-05-131-13/+17
|
* First pass at documentation reform.Rapptz2017-05-121-3/+3
|
* Allow comparison between User and Member instances again.Rapptz2017-05-101-1/+1
|
* Add support for audit log reasons.Rapptz2017-05-071-11/+19
| | | | Most routes now have a 'reason' keyword argument.
* Change some format usage to use %-formatting.Rapptz2017-05-041-2/+2
| | | | | Minor speed increase when we're not doing excessive attribute access or any type of formatting.
* Implement audit logs.Rapptz2017-04-301-2/+2
|
* Remove unused imports.Rapptz2017-04-181-1/+1
|
* Fix issue with members not copying correctly.Rapptz2017-03-051-0/+6
|
* Forward keyword arguments in Member.banRapptz2017-02-211-2/+2
|
* Fix Member.display_name to work.Rapptz2017-02-101-0/+10
|
* Fix Member.permissions_in passing in the wrong self parameter.Rapptz2017-01-311-0/+16
|
* Make all public is_ functions into methods instead of properties.Rapptz2017-01-291-3/+3
|
* Add missing int casts in many different events in the state.Rapptz2017-01-281-5/+0
| | | | Also remove redundant role parsing in Member._update_roles.
* Update copyright year to 2017.Rapptz2017-01-201-1/+1
|
* Add support for relationships.Rapptz2017-01-201-2/+3
|
* Make ClientUser separate from a regular User.Rapptz2017-01-191-2/+2
| | | | This removes Client.edit_profile in favour of ClientUser.edit.
* Remove _get_guild_id from Messageable ABC.Rapptz2017-01-141-3/+0
|
* VoiceChannel.voice_members is now computed when needed.Rapptz2017-01-081-1/+4
|
* Fix bug that made member roles go missing.Rapptz2017-01-031-10/+19
|
* Make User and Member messageable.Rapptz2017-01-031-1/+11
|
* Move message creation to a factory method inside ConnectionState.Rapptz2017-01-031-4/+4
|
* Add useful repr to all data classes.Rapptz2017-01-031-1/+5
|
* Absolute import some circular dependencies to appease Python 3.4.Rapptz2017-01-031-4/+4
|
* Rename try_insert_user to store_userRapptz2017-01-031-1/+1
|
* Make emojis and members stateful.Rapptz2017-01-031-6/+195
|
* Rename Server to Guild everywhere.Rapptz2017-01-031-20/+20
|
* Optimise VoiceState for memory.Rapptz2017-01-031-60/+20
| | | | | | Instead of storing one VoiceState per Member, only store them if necessary. This should bring down the number of instances significantly.
* Begin working on the rewrite.Rapptz2017-01-031-17/+113
|
* 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
|