Commit Graph

  • 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
  • 51186c3ca4 [commands] Add CommandNotFound error. Rapptz 2016-01-05 01:11:52 -05:00
  • 246698254f Add basic example bot showcasing the commands ext module. Rapptz 2016-01-05 00:07:07 -05:00
  • e08d643a7f [commands] Add a way to remove commands. Rapptz 2016-01-04 23:37:12 -05:00
  • cc8ddc7eae Use setuputils.find_package to find extension modules. Rapptz 2016-01-04 23:26:01 -05:00
  • 7951a2374b Documentation improvements on using check decorator. Rapptz 2016-01-04 22:43:50 -05:00
  • e4f6b14496 Add missing import in commands core. Rapptz 2016-01-04 22:29:04 -05:00
  • db4cc791dd Update license of files to 2016. Rapptz 2016-01-04 22:28:29 -05:00
  • 59ca5ec386 Initial implementation of commands extension module. Rapptz 2016-01-04 22:22:52 -05:00
  • 97874293e2 Revert "Use super() in classes that could be subclassed." Rapptz 2016-01-04 20:26:59 -05:00
  • 948f565b43 Use super() in classes that could be subclassed. Rapptz 2016-01-04 18:25:20 -05:00
  • 5a1d7a2d94 Change permissions to remove the can_ prefix. Rapptz 2016-01-03 21:44:54 -05:00
  • 18cda5c3ae Document more breaking changes in migrating file. Rapptz 2016-01-03 17:02:24 -05:00
  • 46be218394 Remove print statement from bytes check. Rapptz 2016-01-01 21:09:56 -05:00
  • 080b8119ad Implement compressed READY Rapptz 2016-01-01 21:08:43 -05:00
  • 6d94e68c7a Actually send the payload data in Client.create_server Rapptz 2015-12-31 20:57:53 -05:00
  • ab9840fcb3 Fix issue with add_roles and friends not working. Rapptz 2015-12-30 21:36:56 -05:00
  • 3da6cf5926 Add logs to help debug some voice data. Rapptz 2015-12-30 20:56:48 -05:00
  • c69a991e46 Maintain order in role related functions. Rapptz 2015-12-30 16:11:15 -05:00
  • 7765580a14 utils.get now supports nested attribute retrieval. Rapptz 2015-12-30 13:00:52 -05:00
  • f1480580c1 Changed cache check to be the login endpoint itself. Rapptz 2015-12-29 18:11:52 -05:00
  • b4dc9f4b62 Fix indentation error Rapptz 2015-12-29 13:58:02 -05:00
  • dd0bb3baa1 Add ability to move members to a different voice channel. Rapptz 2015-12-29 13:29:39 -05:00
  • ae0cce26ee Remove Client.voice_channel Rapptz 2015-12-29 12:39:58 -05:00
  • 61464194be Client.join_voice_channel now accepts an Object. Rapptz 2015-12-29 12:16:37 -05:00
  • 436d10ef39 Simplify parser event check with hasattr rather than tuples. Rapptz 2015-12-29 12:06:00 -05:00
  • e9b771adc7 Add missing ` in documentation for create_server Rapptz 2015-12-29 12:02:25 -05:00
  • c11bd9b8f4 ConnectionState is now constructed in Client.__init__. Rapptz 2015-12-29 11:59:18 -05:00
  • 7696a566e1 Raise ClientException if an unexpected websocket close happens Rapptz 2015-12-29 01:21:10 -05:00
  • 33dbd84398 Message no longer upgrades if the channel is an Object Rapptz 2015-12-29 01:20:36 -05:00
  • 2cd1ec3066 Client.create_invite now works without a websocket connection Rapptz 2015-12-29 01:18:28 -05:00
  • 43ee53fa99 Client.get_invite now works without a websocket connection Rapptz 2015-12-29 00:01:59 -05:00
  • 5d2f107070 Client.email is now set when using the cache Rapptz 2015-12-28 23:56:16 -05:00
  • 49488c9151 make ip/port voice packet logic more clear Steven Berler 2015-12-27 06:05:07 -08:00
  • 57c3363119 fix broken ip and port in voice client Steven Berler 2015-12-27 01:14:16 -08:00
  • ac3e583b05 Add missing argument in _rate_limit_helper Khazhismel 2015-12-26 17:01:28 -05:00
  • 740b9a95c2 Added missing Member import to client.py SamSchlegel 2015-12-24 08:24:23 -05:00
  • 0aa46e6def Add game data class, replace game_id. Khazhismel 2015-12-23 17:38:59 -05:00
  • ec23434162 Mentions are now <@id> *only* - remove mentions array on send and edit message Khazhismel 2015-12-23 20:27:46 -05:00
  • e8a06b7ee9 Insert options before pipe:1 in ffmpeg player, otherwise they are ignored Khazhismel 2015-12-23 17:58:34 -05:00
  • 483384595b Unflip kick/ban permission bits abalabahaha 2015-12-22 17:58:43 -08:00
  • bb433990e8 None author param in wait_for_message allows any author Khazhismel 2015-12-22 03:51:45 -05:00
  • ca450fb0e4 Fix README example code. Rapptz 2015-12-20 01:47:02 -05:00
  • ba3e00c3bf Add guessing game example to showcase wait_for_message. Rapptz 2015-12-19 23:57:42 -05:00
  • 9175b83387 Add voice playlist example code. Rapptz 2015-12-19 23:06:22 -05:00
  • 1ac2f6437f Fix NameError with Permissions missing. Rapptz 2015-12-19 20:53:31 -05:00
  • bee044629d Add background_task example to showcase background tasks. Rapptz 2015-12-19 20:40:06 -05:00
  • f0d5d7a490 Rename some listeners to wait_until_. Rapptz 2015-12-19 20:31:52 -05:00
  • 6b12ef2a0c Updated examples to use new properties. Rapptz 2015-12-19 20:27:40 -05:00
  • 7258a9e700 Delete messages from message cache when you leave the server. Rapptz 2015-12-19 06:31:19 -05:00
  • f1f0e169e4 Add __slots__ where appropriate to data classes. Rapptz 2015-12-19 06:18:12 -05:00
  • 4fa5b50d2b Add listener for on_ready event for easier background tasks. Rapptz 2015-12-19 03:56:07 -05:00
  • a1693a8c9d Make is_logged_in and is_closed into Events internally. Rapptz 2015-12-19 03:32:01 -05:00
  • cf56ddfe4c Release connection when error occurs during login. Rapptz 2015-12-18 21:18:22 -05:00
  • 037d3ab08a Move email out of ConnectionState. Rapptz 2015-12-18 21:16:55 -05:00
  • f5b927f01c Fix GUILD_MEMBER_UPDATE and GUILD_UPDATE not triggering. Rapptz 2015-12-18 20:59:56 -05:00
  • 070015e408 Disallow duplicates when adding or removing roles. Rapptz 2015-12-18 20:13:04 -05:00
  • 8a4e2ba958 Fix Client.replace_roles having hashable errors. Rapptz 2015-12-18 20:08:25 -05:00
  • 2c246a0aa7 Add first support for gateway redirects and reconnects. Rapptz 2015-12-17 20:30:48 -05:00
  • 9075d46efd Add on_member_ban and on_member_unban events. Rapptz 2015-12-17 18:22:16 -05:00
  • 253e2b1f64 Add way to delete messages after a user is banned. Rapptz 2015-12-17 17:39:30 -05:00
  • 00c9ac59c1 Fix consistency issue with migrating page. Rapptz 2015-12-17 16:58:01 -05:00
  • 00c8dae88d Add migrating guide for migrating to v0.10.0. Rapptz 2015-12-17 07:12:18 -05:00
  • 63565026c4 Remove on_status event. Superseded by on_member_update. Rapptz 2015-12-17 06:17:05 -05:00
  • 49d78c69c7 All update related events now pass in the previous state. Rapptz 2015-12-17 06:05:35 -05:00
  • 78e95ef755 Documentation fixes. Rapptz 2015-12-17 04:11:38 -05:00
  • 5f4e13df96 Fix Channel.permissions_for attribute error. Rapptz 2015-12-17 01:29:20 -05:00
  • 51d91c2a82 Most data classes now support hashing. Rapptz 2015-12-17 00:30:08 -05:00
  • 613214f197 Add Message.clean_content property to get prettified mentions. Rapptz 2015-12-17 00:15:41 -05:00
  • ebcb532c38 Change regex from \d+ to [0-9]+ for performance reasons. Rapptz 2015-12-16 23:46:02 -05:00
  • 4f66d41ca3 Add Server.me attribute to access the Member version of Client.user. Rapptz 2015-12-16 23:35:05 -05:00
  • f78e3c9f0b Fix Client.logs_from failing if no more messages are found. Rapptz 2015-12-16 22:44:45 -05:00
  • 434fc5c79e Remove the non-classmethod attributes in Permissions. Rapptz 2015-12-16 22:21:09 -05:00
  • 9f92536441 Clean-up documentation to use NumPy style docs on remaining classes. Rapptz 2015-12-16 22:20:54 -05:00
  • de1c74a399 Make more things into properties. Rapptz 2015-12-16 22:03:16 -05:00
  • f484a5c023 Channel.is_default_channel is now a property named is_default. Rapptz 2015-12-16 19:54:26 -05:00
  • 271c7565fc Make Client.unban actually useful. Rapptz 2015-12-16 19:32:08 -05:00
  • 7d08a07cb9 Fix issue with roles being passed in being strings. Rapptz 2015-12-16 00:14:58 -05:00
  • 658090f129 Fix NameError with itertools in client. Rapptz 2015-12-16 00:04:15 -05:00
  • 491d508a97 Cast Retry-After header into a float. Rapptz 2015-12-15 21:00:11 -05:00
  • 00a98a76fd Add a way to get all active invites from a server. Rapptz 2015-12-15 20:19:37 -05:00
  • 42c67e3605 Add a way to get bans from a server. Rapptz 2015-12-15 19:59:41 -05:00
  • 7f0a048299 Fix GUILD_ROLE_DELETE triggering ValueError. Rapptz 2015-12-14 23:26:22 -05:00
  • 6d26d73e24 Client.run now does cleanup when KeyboardInterrupt is encountered. Rapptz 2015-12-14 16:26:15 -05:00
  • 9137d92f67 All data classes now support !=, == and str(obj). Rapptz 2015-12-13 22:53:48 -05:00
  • ab46afee1d Changed functions that return a constant value into properties. Rapptz 2015-12-13 20:05:58 -05:00