aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [commands] Added a method to reset command cooldown.Dan Hess2016-09-082-0/+17
|
* Fix gateway code to work with websockets 3.2.Rapptz2016-08-251-1/+2
|
* Ensure that keep alive threads are closed when a websocket closes.Rapptz2016-08-211-4/+5
| | | | | | | | | | The library worked with the assumption that whenever the recv call for the websocket would lead to a closure, the close method would be called to signal closure and as a result our close method would be called. This assumption turned out to be false as the websockets library would instead call an internal function named close_connection instead. So to solve our problem we need to override this function instead of close.
* Remove download stats badge.Rapptz2016-08-141-1/+0
|
* Document that Client.get_channel works with PrivateChannel too.Rapptz2016-08-141-1/+1
|
* Document what it means that an object is not edited in-place explicitlyRapptz2016-08-141-11/+22
| | | | | | This seems to be a very common question regarding the docs so might as well document exactly what this means rather than using cryptic and confusing wording.
* Explain cases where the on_message_edit event can be triggered.Rapptz2016-08-141-5/+21
|
* [commands] Delete module when it does not have a setup function.Rapptz2016-08-101-0/+2
|
* Emoji.url uses api url.Khazhismel2016-08-061-1/+1
|
* [commands] Add missing inspect import in converter.pyRapptz2016-08-041-0/+1
|
* Add emoji url propertyKhazhismel2016-08-021-0/+5
|
* Clean up Emoji documentation.Khazhismel2016-08-011-2/+0
|
* Document the new emoji stuff.Rapptz2016-08-011-1/+14
|
* [commands] Add custom emoji converter.Khazhismel2016-07-311-0/+31
|
* Add custom emoji support.Khazhismel2016-07-315-1/+123
|
* Version bump to v0.11.0v0.11.0Rapptz2016-07-302-2/+52
|
* [commands] Make HelpFormatter ignore hidden commands for max_width.PapyrusThePlant2016-07-301-1/+1
|
* Rename Permissions.change_nicknames to change_nickname to match UI.Rapptz2016-07-301-3/+3
| | | | This is a breaking change.
* Handle receiving HEARTBEAT opcode.Rapptz2016-07-301-0/+5
|
* Add functions to query and actually prune members from a server.Rapptz2016-07-292-1/+92
|
* Clarify that Client.purge_from requires Manage Messages for anything.Rapptz2016-07-291-3/+3
|
* Fix KeyError when creating private channels in start_private_message.Rapptz2016-07-251-1/+1
| | | | I was not passing the full updated v6 payload.
* Add new External Emojis permission.Rapptz2016-07-241-4/+13
|
* Document VoiceState class.Rapptz2016-07-242-1/+7
|
* Fix voice state update issue in on_voice_state_updateRapptz2016-07-233-8/+11
| | | | | | | | | 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.
* Fix TypeError when constructing a channel in start_private_message.Rapptz2016-07-231-1/+1
|
* [commands] Fix cooldown decorator to work regardless of order.Rapptz2016-07-221-1/+1
|
* Remove unused internal code in Member.Rapptz2016-07-221-18/+0
|
* [commands] Implement a command cooldown system.Rapptz2016-07-224-3/+193
| | | | | | | | | | | | | | | | | The way the command cooldown works is using a windowed way of doing it. That is, if we have a cooldown of 2 commands every 30 seconds then if we do a single command, we have 30 seconds to do the second command or else we will get rate limited. This more or less matches the common expectations on how cooldowns should be. These cooldowns can be bucketed up to a single dimension of depth for a per-user, per-guild, or per-channel basis. Of course, a global bucket is also provided. These cannot be mixed, e.g. no per-channel per-user cooldowns. When a command cooldown is triggered, the error handlers will receive a an exception of type CommandOnCooldown with proper information regarding the cooldown such as retry_after and the bucket information itself.
* [commands] Add UserInputError into the exception hierarchy.Rapptz2016-07-211-8/+18
| | | | | | | | | | | This is for exceptions that are inherently based on user errors and not permission based. e.g. passing incorrect number of arguments, too many arguments, or an invalid argument. CommandNotFound is not classified under this since it isn't inherently a user input error in all cases. Some invalid commands can simply be due to an odd bot prefix. It would also diminish the usefulness of the new parent class if CommandNotFound was included.
* Fix SyntaxError in constructing VoiceState for Python 3.4Rapptz2016-07-211-1/+2
| | | | Generalised unpacking is 3.5 only.
* Add AppInfo.owner attribute.Rapptz2016-07-212-2/+7
|
* Fix bug where discriminators would not update in PRESENCE_UPDATE.Rapptz2016-07-211-0/+1
|
* Add ourselves into the ringing lookup cache.Rapptz2016-07-151-0/+2
|
* Add utility properties to CallMessage to query information.Rapptz2016-07-153-11/+39
|
* Add support for querying information about group calls.Rapptz2016-07-156-31/+207
|
* Fix the displaying of Message.system_contentRapptz2016-07-151-5/+4
|
* Handle adding and removal of group members.Rapptz2016-07-152-1/+25
|
* Make PrivateChannel.__str__ more useful for groups.Rapptz2016-07-151-4/+16
| | | | Also demote is_private to a property instead of a slot.
* Handle private channel CHANNEL_CREATE better.Rapptz2016-07-151-2/+2
|
* Add remaining server regions to the enum.Rapptz2016-07-142-9/+26
|
* Add support for different message types and call message.Rapptz2016-07-137-8/+175
|
* Handle CHANNEL_UPDATE for group direct messages.Rapptz2016-07-133-15/+27
|
* Begin working on gateway v6 changes.Rapptz2016-07-136-21/+77
| | | | | The first batch of changes are related to channel types and group direct messages. Support these first so READY begins parsing.
* Add stderr arg to create_ffmpeg_playerDaniel2016-07-081-2/+5
|
* [commands] Make Bot.check decorator an actual decorator.Rapptz2016-07-081-6/+4
|
* [commands] Added missing parenthesis in examplesPapyrusThePlant2016-07-081-8/+8
|
* Save email when login with a token on a user accountPapyrusThePlant2016-07-061-1/+2
|
* [commands] Refactor pagination into its own class.Rapptz2016-07-052-49/+71
| | | | | | This change allows users to more easily create their own formatters without having to reinvent the pagination logic themselves. Hopefully this makes it less of a pain for people to create custom help pages.
* Fix issue with removing roles out of order.Rapptz2016-07-041-7/+2
| | | | Fixes #250.