aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make Message.embeds to be based on discord.EmbedRapptz2017-01-031-5/+4
|
* Re-add support for reactions.Rapptz2017-01-036-88/+238
| | | | | We now store emojis in a global cache and make things like adding and removing reactions part of the stateful Message class.
* Rename try_insert_user to store_userRapptz2017-01-035-13/+13
|
* Make emojis and members stateful.Rapptz2017-01-036-10/+335
|
* Make roles and guilds stateful.Rapptz2017-01-033-4/+417
|
* Rename Server to Guild everywhere.Rapptz2017-01-0324-630/+632
|
* Stateful Message and remove Invite.xkcd since it is removed.Rapptz2017-01-033-16/+221
|
* Add MessageChannel.typing context manager for prolonged typing.Rapptz2017-01-032-0/+75
|
* Split channel types.Rapptz2017-01-0310-174/+715
| | | | | | | | | | | This splits them into the following: * DMChannel * GroupChannel * VoiceChannel * TextChannel This also makes the channels "stateful".
* [commands] Bot skip check now works with the new __eq__ changes.Rapptz2017-01-031-2/+5
|
* Slots use tuples instead now.Rapptz2017-01-037-8/+8
|
* Add some basic ABCs.Rapptz2017-01-032-1/+78
|
* Switch IDs to use int instead of strRapptz2017-01-0310-109/+114
|
* Remove Message.timestamp and make Message.channel_mentions lazy.Rapptz2017-01-031-46/+60
| | | | | | Message.timestamp is replaced with Message.created_at. This commit also affects how MESSAGE_UPDATE is handled by only assuming that two keys are provided rather than overwriting data with missing keys.
* Optimise VoiceState for memory.Rapptz2017-01-034-83/+76
| | | | | | 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-0311-242/+321
|
* Add ability to set opus encoder input signal type.Kyle Repinski2017-01-031-0/+19
|
* [commands] Bugfix on the teardown function call.PapyrusThePlant2017-01-011-1/+1
|
* Chunk every guild if it's a user bot.Rapptz2016-12-241-3/+4
| | | | | This also increases the timeout for chunking by 30 seconds for every chunk we're waiting for.
* Support animated avatars in User.avatar_url.Rapptz2016-12-231-1/+6
|
* Properly propagate loop. Fixes #420.Rapptz2016-12-214-9/+12
|
* Version bump to v0.16.0.v0.16.0Rapptz2016-12-192-2/+27
|
* [commands] Shield against dictionary resize in Bot.closeRapptz2016-12-171-2/+2
|
* [commands] Unload all cogs when gracefully exiting bot.Rapptz2016-12-171-0/+6
|
* [commands] Properly propagate CommandError derived exceptions.Rapptz2016-12-171-0/+2
| | | | | | If a command or a group raised a CommandError derived exception it would be wrapped into CommandInvokeError. This fixes this case so it raises the original exception instead.
* [commands] Add special extension function 'teardown' for clean-up.Rapptz2016-12-171-4/+14
| | | | | | | | | | | | This is to support people who want to clean up some external resource that the extension is maintaining outside of a cog, where __unload should be used instead. The callable is the antipode of 'setup' and takes the same sole parameter, the bot, after all commands, events, and cogs have been unloaded. Fixes #405.
* [commands] Unload all extensions when gracefully closing bot.Rapptz2016-12-171-0/+10
|
* Add Channel.overwrites to get a channel's permission overwrites.Rapptz2016-12-171-0/+28
| | | | Fixes #414.
* Add support for partnered servers. Fixes #387.Rapptz2016-12-172-11/+45
| | | | | This commit allows you to edit a server's invite splash, query if something has partnered features, and retrieve the invite splash + URL.
* Timeout waiting for chunking.Rapptz2016-12-161-4/+10
| | | | | | Sometimes the bot would keep waiting for chunks that somehow finished before getting to the `wait` call. This is more so a temporary fix rather than a fully correct one.
* Discard null sequences in the gateway.Rapptz2016-12-161-4/+4
| | | | | This was forbidding the Discord gateway from allowing us to RESUME properly, causing an over-abundance of READY being called.
* [commands] Run global checks in help formatter.khazhyk2016-12-161-1/+1
| | | | | | Help formatter was not checking global bot-level checks, resulting in showing commands a user did not have permission for with show_check_failure disabled.
* Fix typo in wait_for_reaction documentation.Rapptz2016-12-071-2/+2
|
* Fix role comparisons.Rapptz2016-12-021-1/+1
| | | | Fixes #409
* Make FAQ use change_presence instead of change_status.Rapptz2016-11-301-4/+4
|
* Version bump to v0.15.1v0.15.1Rapptz2016-11-302-2/+9
|
* Fix crash on duplicate or out of order reactions.khazhyk2016-11-301-2/+5
| | | | Eventual consistency ftw
* Version bump to v0.15.0v0.15.0Rapptz2016-11-222-3/+25
|
* [commands] Remove slots on Context.Rapptz2016-11-221-3/+0
| | | | | | | This is to allow people to set temporary local variables by injecting them directly into the context via some decorator or some other mechanism. Contexts are not kept alive long enough to warrant being slotted.
* Make discord.Embed builder more strict and easier to use.Rapptz2016-11-221-70/+147
| | | | | | | | | | | | | | | | Allow for easier use when trying to "reuse" the same discord.Embed object by providing new methods such as Embed.clear_fields, Embed.set_field_at, and allowing you to set things to Embed.Empty to clear out an attribute. For ease of use, things are automatically casted to ``str`` to prevent the user from having HTTP 400 errors if they forgot to do so. The new embed builder also supports "fluent-style" interface to allow you to chain methods in a single line if necessary. Certain parameters were removed since they were ignored by Discord anyway such as `width` and `height` in Embed.set_image and Embed.set_thumbnail.
* Add PermissionOverwrite.is_empty to query empty state of an overwrite.Rapptz2016-11-211-0/+8
| | | | Fixes #382
* Add Permissions.update and PermissionOverwrite.update for bulk edits.Rapptz2016-11-211-0/+38
| | | | | This should satisfy those that have a one-line obsession and make things a little bit easier if you have a dict.
* Support MESSAGE_REACTION_REMOVE_ALL event.Rapptz2016-11-212-0/+16
|
* Add missing bucket for endpoints.Rapptz2016-11-171-3/+3
|
* Documentation fixes.Rapptz2016-11-172-2/+8
|
* Add support for clearing a message's reactions.Rapptz2016-11-172-0/+26
|
* Add atomic add and remove role endpoints to HTTPClient.Rapptz2016-11-171-0/+8
| | | | These are currently unused since their use is pretty limited.
* Add FAQ entry about reactionsleovoel2016-11-141-0/+17
|
* Support message editing with rich embeds.Rapptz2016-11-132-7/+16
|
* Add support for rich embeds.Rapptz2016-11-135-6/+446
|