| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix format string in new bot template. | Rapptz | 2017-05-17 | 1 | -1/+1 |
| | | |||||
| * | First pass at having a __main__ file. | Rapptz | 2017-05-17 | 1 | -0/+280 |
| | | | | | | | | | | | | | | This allows you to generate templates and projects easily. Its main purpose is to be easy to use for beginners in the upcoming documentation. Two new commands are added: * newbot * creates a new bot template using a name and optional directory * newcog * creates a new cog template using a name and optional directory | ||||
| * | Rename internal ConnectionState attribute to have an underscore. | Rapptz | 2017-05-16 | 3 | -34/+34 |
| | | | | | | | Some people like to use that variable name apparently. See #568 and #569. | ||||
| * | Client.get_user_info uses int for IDs not str. | Rapptz | 2017-05-15 | 1 | -1/+1 |
| | | | | | Realistically both will work but let's not say that. | ||||
| * | Rename Colour.to_tuple to Colour.to_rgb. | Rapptz | 2017-05-15 | 1 | -1/+1 |
| | | |||||
| * | Add Colour.from_rgb. | Rapptz | 2017-05-15 | 1 | -0/+5 |
| | | |||||
| * | [commands] Update check examples to work with rewrite. | Rapptz | 2017-05-15 | 1 | -10/+10 |
| | | |||||
| * | Use describe for Colour documentation. | Rapptz | 2017-05-15 | 1 | -13/+15 |
| | | |||||
| * | Use describe instead of tables for supported operations. | Rapptz | 2017-05-13 | 9 | -180/+218 |
| | | |||||
| * | Add Colour.blurple and Colour.greyple. | Rapptz | 2017-05-13 | 1 | -0/+9 |
| | | |||||
| * | Force disconnect in abc.Connectable.connect. | Rapptz | 2017-05-13 | 2 | -6/+10 |
| | | | | | | Some cases of is_connected is not set so we need to force it to clear it anyway. | ||||
| * | Fix some left over incorrect snippets. | Rapptz | 2017-05-12 | 1 | -1/+1 |
| | | |||||
| * | First pass at documentation reform. | Rapptz | 2017-05-12 | 14 | -188/+376 |
| | | |||||
| * | Rename abc.Callable to abc.Connectable. | Rapptz | 2017-05-10 | 2 | -2/+2 |
| | | |||||
| * | [commands] Converter.convert is always a coroutine. | Rapptz | 2017-05-10 | 2 | -78/+83 |
| | | | | | | | | | Along with this change comes with the removal of Converter.prepare and adding two arguments to Converter.convert, the context and the argument. I suppose an added benefit is that you don't have to do attribute access since it's a local variable. | ||||
| * | [commands] Fix default error handler to work with the switch. | Rapptz | 2017-05-10 | 1 | -1/+1 |
| | | |||||
| * | Allow comparison between User and Member instances again. | Rapptz | 2017-05-10 | 1 | -1/+1 |
| | | |||||
| * | [commands] Re-order error handler arguments. | Rapptz | 2017-05-10 | 2 | -7/+7 |
| | | | | | | They now have Context as the first argument to be consistent with other context-passing functions. | ||||
| * | Only set the attribute if it isn't None. | Rapptz | 2017-05-10 | 1 | -1/+3 |
| | | |||||
| * | Make sure that websockets.connect is a coroutine. | Rapptz | 2017-05-09 | 1 | -2/+11 |
| | | | | | | | | | | | In 3.5.0 and 3.5.1 asyncio.ensure_future requires a Future or a coroutine otherwise a TypeError is raised. The issue is that the websockets.connect call is an awaitable rather than a coroutine. asyncio.ensure_future did not gain support for awaitables until 3.5.2. This patch allows 3.5.0 and 3.5.1 to connect regardless of their python version. | ||||
| * | Remove Guild.change_vanity_invite in favour of Guild.edit | Rapptz | 2017-05-09 | 1 | -29/+11 |
| | | |||||
| * | Add back Client.create_guild. | Rapptz | 2017-05-09 | 1 | -1/+47 |
| | | |||||
| * | Rename GuildRegion to VoiceRegion. | Rapptz | 2017-05-09 | 3 | -9/+9 |
| | | | | | | This naming makes more sense since voice regions are not a guild exclusive concept. | ||||
| * | Properly check for audit log entry termination. | Rapptz | 2017-05-07 | 1 | -10/+10 |
| | | |||||
| * | Make AuditLogDiff.roles an empty list instead of None. | Rapptz | 2017-05-07 | 1 | -1/+1 |
| | | |||||
| * | Skip None action types when iterating. | Rapptz | 2017-05-07 | 1 | -0/+4 |
| | | |||||
| * | Add support for audit log reasons. | Rapptz | 2017-05-07 | 9 | -131/+217 |
| | | | | | Most routes now have a 'reason' keyword argument. | ||||
| * | Fix NameError when making things Object in audit logs. | Rapptz | 2017-05-07 | 1 | -2/+2 |
| | | |||||
| * | Audit log role add and removes are lists, not single item. | Rapptz | 2017-05-06 | 1 | -10/+15 |
| | | | | | Breaking change. role -> roles and it's now a list. | ||||
| * | Replace hasattr with try except in chunker. | Rapptz | 2017-05-05 | 1 | -2/+2 |
| | | |||||
| * | Split on_channel_pins_update as well. | Rapptz | 2017-05-05 | 1 | -2/+16 |
| | | |||||
| * | Rework some events to make more sense. | Rapptz | 2017-05-05 | 1 | -9/+10 |
| | | | | | | | | | | | | | | | This is a breaking change. 1. Change on_guild_emojis_update to have 3 arguments. - The first parameter is now the guild object 2. Remove on_channel_create, on_channel_delete, and on_channel_update - They are now split into two. - on_guild_channel_[create|delete|update] - on_private_channel_[create|delete|update] 3. Change on_member_ban to allow User. - (member) -> (guild, user) - user can also be a Member | ||||
| * | [commands] Export is_nsfw check. | Rapptz | 2017-05-05 | 1 | -1/+1 |
| | | |||||
| * | Change some format usage to use %-formatting. | Rapptz | 2017-05-04 | 5 | -9/+9 |
| | | | | | | Minor speed increase when we're not doing excessive attribute access or any type of formatting. | ||||
| * | Add support for message delete audit log action type. | Rapptz | 2017-05-04 | 2 | -1/+14 |
| | | |||||
| * | Explicitly close UDP sockets when re-creating them. | Rapptz | 2017-05-02 | 1 | -1/+10 |
| | | | | | | This does not actually make a big difference since the GC should technically close them when needed but might as well be more explicit. | ||||
| * | Fix NameError in HTTPClient.kick | Rapptz | 2017-05-02 | 1 | -1/+1 |
| | | |||||
| * | [commands] Add is_nsfw check. | Rapptz | 2017-05-01 | 1 | -0/+6 |
| | | |||||
| * | Make sure that the chunker task only runs once. | Rapptz | 2017-05-01 | 1 | -25/+34 |
| | | |||||
| * | Add support for setting and retrieving guild vanity invites. | Rapptz | 2017-04-30 | 2 | -0/+62 |
| | | |||||
| * | Changed audit_log to audit_logs in documentation | Twentysix | 2017-04-30 | 2 | -2/+2 |
| | | |||||
| * | Implement audit logs. | Rapptz | 2017-04-30 | 8 | -14/+609 |
| | | |||||
| * | Better TextChannel.is_nsfw() check. | Rapptz | 2017-04-30 | 1 | -1/+1 |
| | | |||||
| * | Add Client.get_emoji to get an Emoji from an ID. | Rapptz | 2017-04-30 | 2 | -0/+7 |
| | | |||||
| * | Add TextChannel.is_nsfw method to check for NSFW channels. | Rapptz | 2017-04-26 | 1 | -0/+5 |
| | | |||||
| * | Don't set VoiceClient.channel to None when VOICE_STATE_UPDATE says so. | Rapptz | 2017-04-26 | 1 | -1/+3 |
| | | | | | | | Sometimes VOICE_STATE_UPDATE gives us a channel_id: null payload and we would end up clearing the VoiceClient.channel state along with it. | ||||
| * | [commands] Fix lack of space in when_mentioned | Rapptz | 2017-04-24 | 1 | -1/+1 |
| | | |||||
| * | [commands] Add Context.voice_client shortcut. | Rapptz | 2017-04-24 | 1 | -0/+6 |
| | | |||||
| * | [commands] Make when_mentioned always have both mention formats. | Rapptz | 2017-04-24 | 1 | -5/+2 |
| | | | | | | This will allow it to work in mobile clients which don't respect the <@!id> format in case of nicknames. | ||||
| * | Wait 5 seconds before attempting to RESUME during INVALIDATE_SESSION. | Rapptz | 2017-04-22 | 1 | -0/+1 |
| | | |||||