| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [commands] Add escape_markdown parameter for clean_content. | Rapptz | 2017-05-28 | 1 | -1/+16 |
| | | |||||
| * | Permissions.view_audit_logs -> Permissions.view_audit_log | Rapptz | 2017-05-28 | 1 | -3/+3 |
| | | |||||
| * | Rename verification level to extreme due to demand. | Rapptz | 2017-05-27 | 1 | -1/+1 |
| | | |||||
| * | Add highest verification level. | Rapptz | 2017-05-27 | 1 | -5/+7 |
| | | |||||
| * | [commands] Fix EmojiConverter not working with underscore names. | Rapptz | 2017-05-26 | 1 | -3/+3 |
| | | |||||
| * | Don't expose Client.messages | Rapptz | 2017-05-26 | 2 | -19/+8 |
| | | | | | | | | Not entirely sure why it was exposed in the first place. Most uses with it essentially boiled down to mis-usage when they meant to use the /messages endpoint (via Client.logs_from or Messageable.history) or complaining about the partial data woes that came from it. | ||||
| * | Log when a KeyboardInterrupt is met in Client.run | Rapptz | 2017-05-25 | 1 | -1/+1 |
| | | |||||
| * | Document that exceptions happen in Guild.audit_logs. | Rapptz | 2017-05-25 | 1 | -0/+7 |
| | | |||||
| * | Don't dispatch on_voice_state_update when Member is not found. | Rapptz | 2017-05-22 | 1 | -1/+3 |
| | | |||||
| * | Use Python3Lexer instead of PythonLexer for pygments. | Rapptz | 2017-05-22 | 6 | -15/+15 |
| | | |||||
| * | Raise when an invalid permission is passed to PermissionOverwrite. | Rapptz | 2017-05-20 | 1 | -0/+3 |
| | | |||||
| * | Allow setting a presence upon logging in. | Rapptz | 2017-05-20 | 3 | -1/+29 |
| | | |||||
| * | Rewrite Client.run yet again. | Rapptz | 2017-05-20 | 1 | -16/+32 |
| | | | | | This time it should definitely fix #545. | ||||
| * | Re-raise exceptions from Client.start in Client.run. | Rapptz | 2017-05-20 | 1 | -15/+18 |
| | | |||||
| * | Re-implement how Client.run is done by using run_forever instead. | Rapptz | 2017-05-20 | 1 | -4/+18 |
| | | |||||
| * | Only do loop cleanup in finally block when on windows. | Rapptz | 2017-05-20 | 1 | -2/+4 |
| | | | | | Should also fix #545. | ||||
| * | Check if we're closing the event loop before using it. | Rapptz | 2017-05-20 | 1 | -1/+5 |
| | | | | | Should fix #545. | ||||
| * | More broken Channel references. | Rapptz | 2017-05-20 | 2 | -3/+3 |
| | | |||||
| * | Oversight in Permissions still having a table. | Rapptz | 2017-05-20 | 1 | -30/+30 |
| | | |||||
| * | Make supported operations stand out more than attributes. | Rapptz | 2017-05-20 | 10 | -127/+155 |
| | | |||||
| * | Kill remaining references to discord.Channel in documentation. | Rapptz | 2017-05-19 | 3 | -6/+6 |
| | | |||||
| * | [commands] Add Context.reinvoke and Command.root_parent | Rapptz | 2017-05-19 | 2 | -2/+128 |
| | | | | | | | | | | | | Context.reinvoke would be the new way to bypass checks and cooldowns. However, with its addition comes a change in the invocation order of checks, callbacks, and cooldowns. While previously cooldowns would trigger after command argument parsing, the new behaviour parses cooldowns before command argument parsing. The implication of this change is that Context.args and Context.kwargs will no longer be filled properly. | ||||
| * | [commands] Fix Context.command_failed from being incorrect. | Rapptz | 2017-05-18 | 3 | -2/+5 |
| | | | | | | | When used, it would be set to False after the invoke was done. Ideally it should report to False during invoke but True during any error case. | ||||
| * | Minor speedup when doing comparisons. | Rapptz | 2017-05-18 | 2 | -4/+8 |
| | | | | | Shred 2 getattr calls + 1 global lookup to 1 global lookup. | ||||
| * | Fix User == Member comparisons. | Rapptz | 2017-05-18 | 2 | -4/+4 |
| | | |||||
| * | 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 |
| | | |||||