| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix IndexError in Client.move_member. | Rapptz | 2016-01-15 | 1 | -1/+1 |
| | | |||||
| * | Client.invites_from now returns a list instead of a generator. | Rapptz | 2016-01-14 | 1 | -13/+12 |
| | | | | | | The old syntax is a bit awkward to use and has little benefit in this case. This is a breaking change. | ||||
| * | Add support for `async for` in Client.logs_from. | Rapptz | 2016-01-14 | 2 | -33/+118 |
| | | | | | | | | | | | This is a breaking change. Code will still work in Python 3.4 as-is but if you use Python 3.5 you will have to change your code to the new `async for` syntax as the older version is not supported in 3.5. On the other hand, this comes with performance improvements if you use Python 3.5 as it will lazily load 100 message chunks on an as needed basis rather than loading all messages in one go. | ||||
| * | [commands] Add on_command and on_command_completion events. | Rapptz | 2016-01-14 | 1 | -1/+4 |
| | | |||||
| * | Documentation fixes for Permissions related code. | Rapptz | 2016-01-14 | 3 | -11/+11 |
| | | |||||
| * | [commands] Change behaviour of consume rest to be more useful. | Rapptz | 2016-01-14 | 1 | -7/+22 |
| | | | | | | You can get back the old behaviour by passing in `rest_is_raw` to the command attributes. | ||||
| * | [commands] Fix issue where Bot would raise if not given a description. | Rapptz | 2016-01-14 | 1 | -1/+1 |
| | | |||||
| * | [commands] Cleanup descriptions being passed. | Rapptz | 2016-01-13 | 2 | -2/+2 |
| | | |||||
| * | Proper exception chaining. | Rapptz | 2016-01-13 | 3 | -7/+7 |
| | | |||||
| * | Guild member add will include deaf and mute now, do not provide default values | Khazhismel | 2016-01-12 | 1 | -1/+1 |
| | | |||||
| * | Change member constructor to not rely on order of json data object | Khazhismel | 2016-01-12 | 1 | -7/+7 |
| | | |||||
| * | Basic bot example now shows documenting for the built-in help command. | Rapptz | 2016-01-12 | 1 | -5/+19 |
| | | |||||
| * | [commands] Fix handling of nested subcommand help handling. | Rapptz | 2016-01-12 | 1 | -5/+15 |
| | | |||||
| * | [commands] Fix keyword-only case to actually do conversion. | Rapptz | 2016-01-12 | 1 | -6/+11 |
| | | |||||
| * | [commands] Support invoking the help command with a cog name. | Rapptz | 2016-01-12 | 2 | -12/+43 |
| | | |||||
| * | [commands] Initial implementation of help command. | Rapptz | 2016-01-11 | 4 | -8/+377 |
| | | |||||
| * | Handle cases where people put False-like values for game presences. | Rapptz | 2016-01-11 | 3 | -6/+6 |
| | | |||||
| * | Change internal update functions to have a leading underscore. | Rapptz | 2016-01-11 | 5 | -9/+9 |
| | | |||||
| * | [commands] Add Command.cog_name to get the cog name it belongs to. | Rapptz | 2016-01-11 | 1 | -1/+7 |
| | | |||||
| * | [commands] Add Command.clean_params to have nicer params. | Rapptz | 2016-01-10 | 1 | -0/+18 |
| | | | | | | | | | These are params without the self/context parameters. Useful for showing signature information in the help command without being bogged down by knowing if the self/context parameters are there. Hence it makes it easier to iterate knowing that you shouldn't care about those two parameters. | ||||
| * | [commands] Remove all aliases if the main command is being deleted. | Rapptz | 2016-01-10 | 1 | -1/+9 |
| | | |||||
| * | Fix Client.remove_roles to actually remove roles. | Rapptz | 2016-01-10 | 1 | -2/+5 |
| | | |||||
| * | [commands] Strip arguments before searching for special cases. | Rapptz | 2016-01-10 | 1 | -3/+4 |
| | | |||||
| * | [commands] Proper cleanup of cogs. | Rapptz | 2016-01-10 | 1 | -1/+3 |
| | | |||||
| * | [commands] Add Group.invoke_without_command. | Rapptz | 2016-01-10 | 1 | -10/+35 |
| | | |||||
| * | Attempt to satisfy RTD by using sphinxcontrib.napoleon. | Rapptz | 2016-01-10 | 2 | -3/+14 |
| | | |||||
| * | Add a Whats New page to have a nicer changelog. | Rapptz | 2016-01-09 | 2 | -0/+72 |
| | | |||||
| * | [commands] Add basic support for extensions. | Rapptz | 2016-01-09 | 2 | -1/+58 |
| | | |||||
| * | [commands] Inject the internal variables for bot.say & co explicitly. | Rapptz | 2016-01-09 | 2 | -19/+36 |
| | | | | | | This is to catch cases where it wouldn't fail to find it when inspecting the stack to catch these stack variables. | ||||
| * | [commands] Add local error handlers. | Rapptz | 2016-01-09 | 1 | -0/+37 |
| | | |||||
| * | [commands] Propagate invoked_with to subcommands. | Rapptz | 2016-01-09 | 1 | -0/+1 |
| | | |||||
| * | [commands] Add support for cogs. | Rapptz | 2016-01-09 | 2 | -6/+128 |
| | | | | | | | Cogs are basically class instances that have commands and event listeners. They allow for better organisation and grouping of commands and state. Similar to subclassing discord.Client. | ||||
| * | Update README to only point to async installation. | Rapptz | 2016-01-08 | 1 | -16/+2 |
| | | |||||
| * | [commands] Add support for registering more than one event listener. | Rapptz | 2016-01-08 | 1 | -0/+93 |
| | | |||||
| * | [commands] Change prefix callback signature and add when_mentioned. | Rapptz | 2016-01-08 | 2 | -5/+11 |
| | | | | | | The utility allows for easy addition of "when the bot is mentioned" as the prefix. The change of signature was to facilitate this. | ||||
| * | Change order of documentation by source declaration. | Rapptz | 2016-01-08 | 2 | -178/+180 |
| | | |||||
| * | Fix conflicts with __slots__ and the new properties under Server. | Rapptz | 2016-01-08 | 1 | -1/+1 |
| | | |||||
| * | Document the breaking change with the new dictionary storage change. | Rapptz | 2016-01-08 | 3 | -4/+41 |
| | | | | | | Since the only things dict views support are iteration we should advise people who want the old behaviour to change it to a list. | ||||
| * | Document how Client.run should be the last function to call. | Rapptz | 2016-01-08 | 2 | -0/+14 |
| | | |||||
| * | document public get_ methods and make others private | Steven Berler | 2016-01-08 | 3 | -44/+50 |
| | | |||||
| * | performance improvements | Steven Berler | 2016-01-08 | 4 | -74/+120 |
| | | | | | | | | | | | | | | | | | | | | | | Replaced server member lists, channel lists, and private channel lists with dicts. This allows O(1) lookups and removes (previously it would be an O(N) operation to lookup or remove). I did pretty extensive testing and benchmarking to compare the performance of using lists vs using dicts. Iterating through lists to find an item is only faster in the average case for extremely small lists (less than 3 items). For 100 items, using a dict is about 10 times faster on average (and about 100 times faster for 1000 items). The overhead in dicts is in memory usage and initial creation time. Creating and populating a dict is about 2 to 3 times slower than creating and appending items to a list. However this cost is still tiny. For 1000 items this equates to about a 70 microsecond difference (on an i7 CPU) for populating the entire dict. The memory overhead for a dict (compared to a list) is about 25-60 KB per 1000 items (can vary depending on dict resizing). Originally I wanted to use OrderedDicts to presereve order, but in my testing OrderedDicts have about 6x the memory overhead compared to normal dicts. | ||||
| * | [commands] Add a way to enable or disable certain commands. | Rapptz | 2016-01-07 | 2 | -7/+39 |
| | | |||||
| * | [commands] Special handling for when the converter is bool. | Rapptz | 2016-01-07 | 1 | -0/+12 |
| | | |||||
| * | [commands] Allow registration of multiple command prefixes. | Rapptz | 2016-01-07 | 2 | -4/+22 |
| | | |||||
| * | Fix handling of embed-only MESSAGE_UPDATE. | Rapptz | 2016-01-07 | 1 | -1/+6 |
| | | |||||
| * | Add Message.nonce attribute. | Rapptz | 2016-01-07 | 2 | -3/+8 |
| | | |||||
| * | Change the way MESSAGE_UPDATE events are handled. | Rapptz | 2016-01-07 | 1 | -11/+1 |
| | | | | | | | | | Previously we created a copy of the object and did some strange iteration over the data and set the attributes that we thought were valid. This worked back then in v0.1.0 of the library when it was written, but it no longer works nowadays when we want to be as future proof as possible. | ||||
| * | Add missing roles attribute to Server.__slots__ | Rapptz | 2016-01-07 | 1 | -1/+1 |
| | | |||||
| * | Add missing documentation for discord.Game | Rapptz | 2016-01-07 | 1 | -0/+6 |
| | | |||||
| * | Documentation fixes to quiet Sphinx warnings. | Rapptz | 2016-01-07 | 4 | -7/+8 |
| | | |||||