Commit Graph

  • 17e17cade9 [commands] Fix crash when a group has no commands and help is requested Rapptz 2016-01-30 20:29:58 -05:00
  • 085e8d4eb3 Message.clean_content now handles everyone mentions properly. Rapptz 2016-01-30 06:16:37 -05:00
  • 94d31834fc Change enumerators into enumerations to please Voltana. Rapptz 2016-01-30 06:07:06 -05:00
  • f9a3979008 Update member references when status changes. Rapptz 2016-01-30 04:36:32 -05:00
  • 7056a1f0ec [commands] Change signature convention to use POSIX standards. Rapptz 2016-01-29 21:23:41 -05:00
  • 0466f5965b [commands] Raise TypeError if the name is not a string. Rapptz 2016-01-29 20:11:22 -05:00
  • e2c9cb7f8e Force content-type for file uploads. Rapptz 2016-01-29 00:25:54 -05:00
  • 45c6619018 [commands] Context.invoke will now return what the command returns. Rapptz 2016-01-28 16:44:16 -05:00
  • 1688d513e8 [commands] Context.invoke just invokes a command with no special case. Rapptz 2016-01-28 02:10:59 -05:00
  • a636f6ae6f Update README to have a valid example. Rapptz 2016-01-27 16:45:09 -05:00
  • d8d4c4e843 [commands] Fix typo on HelpFormatter.show_check_failure attribute. Rapptz 2016-01-27 06:35:03 -05:00
  • 3d21a186fe Try to make the pause/resume loop not busy. Rapptz 2016-01-26 22:24:50 -05:00
  • f075548d78 add `headers` option to create_ffmpeg_player() Alexey Glushko 2016-01-25 20:39:37 +00:00
  • 8b1854e759 Add and remove some of the on_socket_* events. Rapptz 2016-01-25 01:53:35 -05:00
  • 4d816c4ef3 HTTPException now has a text attribute if JSON is not available. Rapptz 2016-01-25 01:16:14 -05:00
  • 8caadb5f03 [commands] Fix discord.Invite special case handling in parameters. Rapptz 2016-01-24 02:18:39 -05:00
  • d013032522 [commands] Allow setting the bot error messages in the help command. Rapptz 2016-01-23 04:00:41 -05:00
  • bb5e222f29 [commands] Add Bot.help_attrs to customise the help command. Rapptz 2016-01-23 03:43:54 -05:00
  • abbe79919b [commands] Change Bot.pm_help to be an optional bool. Rapptz 2016-01-23 03:15:12 -05:00
  • e7931eccc8 Support changing owners in Client.edit_server. Rapptz 2016-01-22 18:08:19 -05:00
  • b98a8c1e14 [commands] Add Command.no_pm attribute to block a command in PM. Rapptz 2016-01-22 07:21:40 -05:00
  • 2d413756b0 Fix PrivateChannel.permissions_for not having self parameter. Rapptz 2016-01-22 01:16:36 -05:00
  • 86e9b62303 Move Member.permissions_in to User.permissions_in. Rapptz 2016-01-21 23:00:51 -05:00
  • 654001ba3e Update the unavailable guild's data when it becomes available. Rapptz 2016-01-21 07:00:39 -05:00
  • 99749a2798 Change docstring for Client.send_message to point to a valid property. Rapptz 2016-01-18 17:45:15 -05:00
  • 1f5d26b7d3 Unit correction in voice docstrings. Rapptz 2016-01-18 17:44:16 -05:00
  • e67f580350 Remove unneeded owner_id assignment. Rapptz 2016-01-18 05:21:13 -05:00
  • 178d43e24f Support upcoming guild ownership transfership change. Rapptz 2016-01-18 05:17:06 -05:00
  • 8de55fa203 Update voice channel if we move to different channels. Rapptz 2016-01-17 18:34:40 -05:00
  • a82176120c [commands] help command now uses the full name in the signature. Rapptz 2016-01-17 17:17:30 -05:00
  • d1508bc739 [commands] Fix indentation error in commands.bot_has_role docstring. Rapptz 2016-01-16 23:35:58 -05:00
  • 6c7a493fd9 Raise a different exception if ffmpeg is not found in PATH. Rapptz 2016-01-16 21:46:11 -05:00
  • 3ebe64c776 [commands] Add checks for checking bot roles and permissions. Rapptz 2016-01-15 17:24:27 -05:00
  • b64b89f484 Use Queue instead of LifoQueue in LogsFromIterator. Rapptz 2016-01-15 14:56:52 -05:00
  • 26e9b79a2d Fix IndexError in Client.move_member. Rapptz 2016-01-15 01:48:43 -05:00
  • dca3b52e5d Client.invites_from now returns a list instead of a generator. Rapptz 2016-01-14 15:45:37 -05:00
  • d33d0bed69 Add support for async for in Client.logs_from. Rapptz 2016-01-14 15:42:56 -05:00
  • bc7606a42c [commands] Add on_command and on_command_completion events. Rapptz 2016-01-14 12:49:42 -05:00
  • 855fa7e553 Documentation fixes for Permissions related code. Rapptz 2016-01-14 12:24:59 -05:00
  • 41d8dc63f4 [commands] Change behaviour of consume rest to be more useful. Rapptz 2016-01-14 03:11:28 -05:00
  • 18c71ab57c [commands] Fix issue where Bot would raise if not given a description. Rapptz 2016-01-14 01:25:40 -05:00
  • 65fda30c0f Version bump to v0.9.2 legacy Rapptz 2016-01-13 23:14:42 -05:00
  • b88562c5c5 Fix warning message. v0.9.2 Rapptz 2016-01-13 23:13:54 -05:00
  • b1d8e12609 [commands] Cleanup descriptions being passed. Rapptz 2016-01-13 22:05:21 -05:00
  • 4edff12f6b Proper exception chaining. Rapptz 2016-01-13 20:08:55 -05:00
  • b60c71ab2e Attempt to fix compressed READY to work in both Python2 and Python3. Rapptz 2016-01-13 19:25:59 -05:00
  • cc37672cbf Warn that async is looming Khazhismel 2016-01-12 14:00:36 -05:00
  • bbe6455eb9 Guild member add will include deaf and mute now, do not provide default values Khazhismel 2016-01-12 11:49:22 -05:00
  • 000e7e57ea Change member constructor to not rely on order of json data object Khazhismel 2016-01-12 11:45:59 -05:00
  • 4071757c40 Use unordered kwargs when constructing member, don't provide duplicate value for member mute/deafen Khazhismel 2016-01-12 11:29:28 -05:00
  • 8d76e7095e Basic bot example now shows documenting for the built-in help command. Rapptz 2016-01-12 01:29:37 -05:00
  • 31db6efc7f [commands] Fix handling of nested subcommand help handling. Rapptz 2016-01-12 01:17:27 -05:00
  • c29f0ea544 [commands] Fix keyword-only case to actually do conversion. Rapptz 2016-01-12 01:00:16 -05:00
  • b335e9ea30 [commands] Support invoking the help command with a cog name. Rapptz 2016-01-12 00:35:41 -05:00
  • 958d278771 [commands] Initial implementation of help command. Rapptz 2016-01-11 23:54:38 -05:00
  • 4ea015067f Handle cases where people put False-like values for game presences. Rapptz 2016-01-11 19:50:13 -05:00
  • 8974dffc4e Change internal update functions to have a leading underscore. Rapptz 2016-01-11 14:44:13 -05:00
  • c49efc5412 [commands] Add Command.cog_name to get the cog name it belongs to. Rapptz 2016-01-11 00:35:07 -05:00
  • 1e941925c2 [commands] Add Command.clean_params to have nicer params. Rapptz 2016-01-10 22:10:42 -05:00
  • a706c47f34 [commands] Remove all aliases if the main command is being deleted. Rapptz 2016-01-10 20:08:13 -05:00
  • 2c31c466b2 Fix Client.remove_roles to actually remove roles. Rapptz 2016-01-10 03:19:41 -05:00
  • 50c83b5a3c [commands] Strip arguments before searching for special cases. Rapptz 2016-01-10 02:56:24 -05:00
  • efcc55bd32 [commands] Proper cleanup of cogs. Rapptz 2016-01-10 02:26:57 -05:00
  • 38bac7fa86 [commands] Add Group.invoke_without_command. Rapptz 2016-01-10 01:52:51 -05:00
  • c6b31c9663 Attempt to satisfy RTD by using sphinxcontrib.napoleon. Rapptz 2016-01-10 00:39:48 -05:00
  • 604e931367 Add a Whats New page to have a nicer changelog. Rapptz 2016-01-09 23:13:23 -05:00
  • b87d5e5337 [commands] Add basic support for extensions. Rapptz 2016-01-09 18:33:37 -05:00
  • 0a07fc088c [commands] Inject the internal variables for bot.say & co explicitly. Rapptz 2016-01-09 15:16:28 -05:00
  • ad800e248b [commands] Add local error handlers. Rapptz 2016-01-09 14:00:17 -05:00
  • b2e0632553 [commands] Propagate invoked_with to subcommands. Rapptz 2016-01-09 12:24:01 -05:00
  • ec6b1997ad [commands] Add support for cogs. Rapptz 2016-01-09 02:18:03 -05:00
  • 968e5514cb Update README to only point to async installation. Rapptz 2016-01-08 22:41:09 -05:00
  • c06dbbd1f0 [commands] Add support for registering more than one event listener. Rapptz 2016-01-08 20:37:13 -05:00
  • 52eb0e3adb [commands] Change prefix callback signature and add when_mentioned. Rapptz 2016-01-08 19:40:00 -05:00
  • af94179be5 Change order of documentation by source declaration. Rapptz 2016-01-08 19:19:53 -05:00
  • 93e3c360a7 Fix conflicts with __slots__ and the new properties under Server. Rapptz 2016-01-08 15:31:06 -05:00
  • a1a47c6f38 Document the breaking change with the new dictionary storage change. Rapptz 2016-01-08 14:03:11 -05:00
  • 6d5175ad9a Document how Client.run should be the last function to call. Rapptz 2016-01-08 13:29:33 -05:00
  • 777b5a09e2 document public get_ methods and make others private Steven Berler 2016-01-07 23:29:56 -08:00
  • 10b0b62f50 performance improvements Steven Berler 2016-01-01 04:58:47 -08:00
  • 25588955e4 [commands] Add a way to enable or disable certain commands. Rapptz 2016-01-07 17:59:26 -05:00
  • b79a4549ab [commands] Special handling for when the converter is bool. Rapptz 2016-01-07 17:31:56 -05:00
  • 542ddc4938 [commands] Allow registration of multiple command prefixes. Rapptz 2016-01-07 16:20:33 -05:00
  • a2b97ae2db Fix handling of embed-only MESSAGE_UPDATE. Rapptz 2016-01-07 02:54:01 -05:00
  • 5ca13cac8e Add Message.nonce attribute. Rapptz 2016-01-07 02:06:11 -05:00
  • 0fbb58cde9 Change the way MESSAGE_UPDATE events are handled. Rapptz 2016-01-07 01:27:13 -05:00
  • 6ddfbc4b36 Add missing roles attribute to Server.__slots__ Rapptz 2016-01-07 00:57:04 -05:00
  • 9d881ad475 Add missing documentation for discord.Game Rapptz 2016-01-07 00:25:18 -05:00
  • e88bc28236 Documentation fixes to quiet Sphinx warnings. Rapptz 2016-01-07 00:21:00 -05:00
  • 2fd63fc3dd Document the fact that data classes use __slots__. Rapptz 2016-01-07 00:13:38 -05:00
  • 89a418a388 Add __slots__ for missing classes that didn't have it. Rapptz 2016-01-06 23:40:20 -05:00
  • 8c6eeeed5f [commands] Don't skip whitespace if the command trigger is found. Rapptz 2016-01-06 19:21:58 -05:00
  • 2c6126c2a1 [commands] None default without specified type uses str now. Rapptz 2016-01-06 18:27:11 -05:00
  • c1583dd7d6 Unavailable guilds get added to cache. Rapptz 2016-01-06 12:57:09 -05:00
  • c1347dfcf0 Remove excessive logging when using voice. Rapptz 2016-01-06 12:19:59 -05:00
  • c8344af103 Add Member.permissions_in. Rapptz 2016-01-06 12:17:36 -05:00
  • 85ceeb5efc Update README to use Python 3.5. Rapptz 2016-01-06 11:39:20 -05:00
  • 2ebfbbe471 Examples now use Python 3.5. Remove echo.py example. Rapptz 2016-01-06 11:34:49 -05:00
  • 7cd2be2edc Update README.md Red_M 2016-01-05 16:27:11 +10:00
  • 51186c3ca4 [commands] Add CommandNotFound error. Rapptz 2016-01-05 01:11:52 -05:00