aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Handle MESSAGE_DELETE_BULK.Rapptz2016-06-221-0/+7
|
* Support for v5 Gateway.Rapptz2016-06-226-29/+81
|
* Fix bug with deleting private messages.Rapptz2016-06-201-3/+5
| | | | | | This was due to an AttributeError occurring when getting the guild_id from the channel. PrivateChannels do not have guild_ids so they should be None.
* [commands] Add Command.ignore_extra attribute to ignore extra argumentsRapptz2016-06-202-3/+20
| | | | | | | | | | | This allows you to strictly require a number of arguments. The default behaviour in this case is still `True`, since it would be a breaking change otherwise and is a sane default. However if someone would want to set this to `False`, they would receive an exception of type `TooManyArguments` if too many arguments are passed to a command. Hopefully this removes the uses of `ctx.message.content == 'stuff'` inside commands.
* Raise TypeError if "after" parameter is not a callable.Rapptz2016-06-201-1/+4
|
* Add FAQ entry for `after` being called right away.Rapptz2016-06-201-0/+21
|
* [commands] Add the concept of global checks.Rapptz2016-06-192-2/+90
| | | | | | | Global checks are checks that are executed before regular per-command checks except done to every command that the bot has registered. This allows you to have checks that apply to every command without having to override `on_message` or appending the check to every single command.
* [commands] Add `delete_after` keyword argument to utility functions.Rapptz2016-06-191-4/+82
| | | | | This includes things like `Bot.say`, `Bot.upload`, `Bot.whisper`, and `Bot.reply`.
* Clarify that Client.logs_from can take a PrivateChannel too.Rapptz2016-06-181-1/+1
|
* Add support for message pinning.Rapptz2016-06-183-2/+86
| | | | | | This includes `Client.pin_message`, `Client.unpin_message` and `Client.pins_from`. This also adds the `Message.pinned` attribute to the `Message` object.
* Fix HTTPClient.recreate to actually work.Rapptz2016-06-181-1/+1
| | | | Forgot a keyword argument.
* Add Member.top_role property to get the highest role.Rapptz2016-06-181-0/+13
|
* Fix Colour.__str__ to actually pad zeroes.Rapptz2016-06-161-1/+1
|
* Attempt resume when we receive a 1001.Rapptz2016-06-161-1/+1
|
* [commands] Add Context.cog property.Rapptz2016-06-161-0/+7
|
* Don't assume that any shared fields are optional in Client.edit_channel.Rapptz2016-06-152-3/+5
| | | | Thanks Jake and night.
* The name is required in Client.edit_channel so add it if it is missing.Rapptz2016-06-151-0/+3
|
* Make logging for HTTP requests more useful.Rapptz2016-06-151-5/+4
|
* Add Client.get_messageRapptz2016-06-152-0/+37
|
* Make sure the socket is closed when we call VoiceClient.disconnectRapptz2016-06-141-3/+5
|
* Make Channel.overwrites_for return PermissionOverwriteRapptz2016-06-141-10/+11
|
* Make Client.edit_channel_permissions use PermissionOverwrite.Rapptz2016-06-141-19/+15
|
* Add a way to set permission overwrites when creating a channel.Rapptz2016-06-143-5/+73
|
* Fix bug with editing messages over private messages.Rapptz2016-06-141-2/+2
|
* Add discord.PermissionOverwrite type for channel-specific overwrites.Rapptz2016-06-143-1/+100
|
* Fix bucket for change_nickname.Rapptz2016-06-141-1/+1
|
* Doc string typosPapyrusThePlant2016-06-141-2/+2
|
* Fix exception when handling login failureHornwitser2016-06-141-2/+2
| | | | | | Logging in with an invalid token would throw a TypeError due to improper passing of arguments to HTTPClient._token. Fix by properly passing the keyword only bot argument.
* [commands] Only show CommandNotFound on non-empty commands.Rapptz2016-06-141-1/+1
|
* Fix concurrently joining more than one voice server at a timeJake2016-06-131-2/+3
|
* Document Server.largeRapptz2016-06-121-0/+4
|
* Give Client.email a default value of None.Rapptz2016-06-121-0/+1
|
* Make the default filename a little bit prettier.Rapptz2016-06-121-1/+2
|
* Fix bug with login token not being properly written in cache.Rapptz2016-06-121-3/+4
|
* Fix bug with logs_from URL params not being correct.Rapptz2016-06-121-0/+3
| | | | The bug happened because I forgot to pass in the id attribute.
* Fix bug with uploading file-like objects.Rapptz2016-06-122-4/+3
| | | | | I would require bytes-like objects instead due to its usage inside the HTTPClient. Release this restriction so old `send_file` code works.
* Fix bug with logging in with email and password.Rapptz2016-06-121-1/+1
|
* Fix bug with edit_role and create_role not working.Rapptz2016-06-121-1/+5
| | | | This was due to an error in overzealous removal of code.
* Fix sed error involved in creation of voice websocket.Rapptz2016-06-121-1/+1
|
* Support more close codes for RESUME.Rapptz2016-06-121-1/+1
|
* Remove unused verify response function.Rapptz2016-06-121-18/+0
|
* Make HTTPException get the error JSON's message attribute.Rapptz2016-06-121-3/+7
|
* Rewrite HTTP handling significantly.Rapptz2016-06-123-481/+586
| | | | | | | | | This should have a more uniform approach to rate limit handling. Instead of queueing every request, wait until we receive a 429 and then block the requesting bucket until we're done being rate limited. This should reduce the number of 429s done by the API significantly (about 66% avg). This also consistently checks for 502 retries across all requests.
* Change HTTPException to only take a single parameter.Rapptz2016-06-123-10/+8
|
* [commands] Make the CommandError required argument optional again.Rapptz2016-06-101-4/+7
|
* Add Client.application_info to retrieve the current app info.Rapptz2016-06-104-2/+66
| | | | Fixes #241.
* Handle voice websocket closure if it's a successful close.Rapptz2016-06-101-2/+8
|
* [commands] Fix @everyone elevation in the default help command.Rapptz2016-06-101-2/+14
|
* [commands] Fix bug with Context.command not updating in groups.Rapptz2016-06-101-0/+1
| | | | This happened when `invoke_without_command` was set to True.
* [commands] Make it so CommandError does not contain @everyone mentions.Rapptz2016-06-101-1/+5
| | | | Mitigates some permission elevation issues.