Commit Graph

  • b3edb31df5 Add support for message pinning. Rapptz 2016-06-18 02:09:50 -04:00
  • 4d375fc856 Fix HTTPClient.recreate to actually work. Rapptz 2016-06-18 01:43:57 -04:00
  • e19244b041 Add Member.top_role property to get the highest role. Rapptz 2016-06-18 01:37:45 -04:00
  • 07607060c1 Fix Colour.__str__ to actually pad zeroes. Rapptz 2016-06-16 22:49:34 -04:00
  • 92fe4daa86 Attempt resume when we receive a 1001. Rapptz 2016-06-16 19:13:13 -04:00
  • 183e7341f6 [commands] Add Context.cog property. Rapptz 2016-06-16 05:42:28 -04:00
  • 2ebc0ab218 Don't assume that any shared fields are optional in Client.edit_channel. Rapptz 2016-06-15 20:49:18 -04:00
  • eeba4963f3 The name is required in Client.edit_channel so add it if it is missing. Rapptz 2016-06-15 20:31:13 -04:00
  • fa0c98da4c Make logging for HTTP requests more useful. Rapptz 2016-06-15 20:16:32 -04:00
  • 7c760d3271 Add Client.get_message Rapptz 2016-06-15 04:46:19 -04:00
  • e736554777 Make sure the socket is closed when we call VoiceClient.disconnect Rapptz 2016-06-14 22:33:25 -04:00
  • 08674f115b Make Channel.overwrites_for return PermissionOverwrite Rapptz 2016-06-14 22:13:35 -04:00
  • d7efc9778b Make Client.edit_channel_permissions use PermissionOverwrite. Rapptz 2016-06-14 21:54:57 -04:00
  • f0fc70b2cf Add a way to set permission overwrites when creating a channel. Rapptz 2016-06-14 20:48:41 -04:00
  • 46babe822a Fix bug with editing messages over private messages. Rapptz 2016-06-14 20:15:50 -04:00
  • fb82a37cc6 Add discord.PermissionOverwrite type for channel-specific overwrites. Rapptz 2016-06-14 20:12:52 -04:00
  • c162b666ea Fix bucket for change_nickname. Rapptz 2016-06-14 19:15:11 -04:00
  • 7d5d8aa918 Doc string typos PapyrusThePlant 2016-06-14 15:29:36 +02:00
  • e516c24746 Fix exception when handling login failure Hornwitser 2016-06-14 18:48:03 +02:00
  • 4dbac9423d [commands] Only show CommandNotFound on non-empty commands. Rapptz 2016-06-14 01:35:35 -04:00
  • f6ef4868d1 Fix concurrently joining more than one voice server at a time Jake 2016-06-13 01:43:55 -07:00
  • fec459e755 Document Server.large Rapptz 2016-06-12 23:46:12 -04:00
  • 8d1867393c Give Client.email a default value of None. Rapptz 2016-06-12 23:44:41 -04:00
  • c3933c379a Make the default filename a little bit prettier. Rapptz 2016-06-12 23:43:03 -04:00
  • 3895cf9295 Fix bug with login token not being properly written in cache. Rapptz 2016-06-12 23:23:36 -04:00
  • b496ea7972 Fix bug with logs_from URL params not being correct. Rapptz 2016-06-12 23:00:33 -04:00
  • f3b257b342 Fix bug with uploading file-like objects. Rapptz 2016-06-12 22:41:30 -04:00
  • 64c1e7d199 Fix bug with logging in with email and password. Rapptz 2016-06-12 22:41:14 -04:00
  • 879584b81a Fix bug with edit_role and create_role not working. Rapptz 2016-06-12 22:40:35 -04:00
  • aecf0daf33 Fix sed error involved in creation of voice websocket. Rapptz 2016-06-12 21:16:57 -04:00
  • dbd3147059 Support more close codes for RESUME. Rapptz 2016-06-12 20:48:23 -04:00
  • 6b5d579d0b Remove unused verify response function. Rapptz 2016-06-12 20:44:40 -04:00
  • e8c32c542e Make HTTPException get the error JSON's message attribute. Rapptz 2016-06-12 20:36:07 -04:00
  • 1fba1b06fa Rewrite HTTP handling significantly. Rapptz 2016-06-12 20:32:59 -04:00
  • fa36a449e9 Change HTTPException to only take a single parameter. Rapptz 2016-06-12 13:57:05 -04:00
  • 5f9ed8c9d2 [commands] Make the CommandError required argument optional again. Rapptz 2016-06-10 23:42:21 -04:00
  • a175c86aa1 Add Client.application_info to retrieve the current app info. Rapptz 2016-06-10 22:28:15 -04:00
  • fe5c369fe9 Handle voice websocket closure if it's a successful close. Rapptz 2016-06-10 21:45:42 -04:00
  • bde266bbb9 [commands] Fix @everyone elevation in the default help command. Rapptz 2016-06-10 21:31:11 -04:00
  • 1228159f30 [commands] Fix bug with Context.command not updating in groups. Rapptz 2016-06-10 21:05:42 -04:00
  • 74cfc53bc8 [commands] Make it so CommandError does not contain @everyone mentions. Rapptz 2016-06-10 20:40:35 -04:00
  • 43bbecd519 [commands] Exceptions raised while invocation raise CommandInvokeError. Rapptz 2016-06-10 20:32:05 -04:00
  • d914c0a4e4 Clarify on_ready triggering more than twice. Rapptz 2016-06-10 20:16:21 -04:00
  • a0f37f8e85 [commands] Fix issue with proper local error handlers not beign called. Rapptz 2016-06-10 01:07:03 -04:00
  • 631cc5a7d6 Add Client.move_channel to change channel positions. Rapptz 2016-06-07 21:29:59 -04:00
  • a0966f59d2 Fix some typos in the FAQ page. Rapptz 2016-06-07 20:39:15 -04:00
  • 19c2bad5be Add FAQ section to the documentation. Rapptz 2016-06-07 05:18:57 -04:00
  • 41a2b5ed73 Actually read from the voice websocket & fix heartbeat. Jake 2016-06-05 20:29:54 -07:00
  • b9c7b05176 [commands] Unify Command.handle_local_error into general dispatcher. Rapptz 2016-06-05 00:35:27 -04:00
  • 661645ac97 [commands] Add Command.qualified_name to get the full command name. Rapptz 2016-06-04 22:31:00 -04:00
  • 37dfe38af5 [commands] Fix bug where Context.command would not update. Rapptz 2016-06-04 22:29:50 -04:00
  • 9d9a20c128 [commands] Fix bug where subgroups would be repeatedly called. Rapptz 2016-06-04 22:04:05 -04:00
  • 24a9da04db [commands] Cleanup Command.invoke code due to exception propagation. Rapptz 2016-06-04 21:41:01 -04:00
  • 33a69681fc [commands] Dispatch command_error on command exec error. Khazhismel Kumykov 2016-06-04 21:21:54 -04:00
  • 329f916e10 Add bot keyword argument to login via static token. Rapptz 2016-06-03 02:12:39 -04:00
  • f6fa1e837a Actually use v4 gateway and fixes thanks to Jake. Rapptz 2016-06-02 07:32:35 -04:00
  • c97e5a17e6 Update positions when a role is added or removed. Rapptz 2016-06-01 21:06:04 -04:00
  • b6492a4124 Clarify Role.position documentation. Rapptz 2016-06-01 20:47:33 -04:00
  • 9a6234961f Make Channel.changed_roles into an on-the-fly property instead. Rapptz 2016-06-01 20:33:30 -04:00
  • 5016f12079 Add Role.server attribute. Rapptz 2016-06-01 19:27:48 -04:00
  • 8638ff4414 Update voice client main ws references when reconnecting. Rapptz 2016-06-01 05:20:22 -04:00
  • e0a91df32b Add RESUME support. Rapptz 2016-06-01 05:13:15 -04:00
  • 20e86973ea [commands] Delete frame objects when done using them. Rapptz 2016-05-31 23:22:53 -04:00
  • bbc78b29ae Fix discord.Object documentation. Rapptz 2016-05-31 20:39:12 -04:00
  • 3c8fcd3584 [commands] Add support for self-bots. Rapptz 2016-05-31 20:30:17 -04:00
  • c8698787fa Allow datetime in limit parameters for purge_from Harmon758 2016-05-21 17:51:02 -05:00
  • 13a9a7520c Fix ytdl documentation link. Rapptz 2016-05-27 15:00:50 -04:00
  • 70cc5eb1bb Allow to edit mentionable property in Client.edit_role. Rapptz 2016-05-27 14:03:43 -04:00
  • f3f3ab1cd4 Reference the Discord UI in the permission documentation. Rapptz 2016-05-23 15:06:09 -04:00
  • aa45bce212 Documentation fixes for role related functions. Rapptz 2016-05-23 15:03:22 -04:00
  • 8f4816ddae Close voice connections before closing the websocket. Rapptz 2016-05-22 00:58:27 -04:00
  • c2e7a68105 Fix purge_from to use LogsFromIterator.create (#219) Harmon 2016-05-20 20:15:43 -05:00
  • bf650297a1 Only trigger on_voice_state_update if the member actually exists. Rapptz 2016-05-20 19:22:22 -04:00
  • a31188c966 Fix bug where members leaving will stay in Channel.voice_members. Rapptz 2016-05-20 19:21:06 -04:00
  • e3c4daf717 Add __slots__ for discord.Channel. Rapptz 2016-05-20 18:02:38 -04:00
  • fe1b5b2941 Add support for voice channel user limits. Rapptz 2016-05-20 17:55:58 -04:00
  • 492c9afffb logs_from improvements for after param. Khazhismel Kumykov 2016-05-18 17:34:17 -04:00
  • 8e5347f4ed Allow datetime in limit parameters for logs_from. Khazhismel Kumykov 2016-05-16 22:38:31 -04:00
  • 7bdddc37a0 Retry send_file on 502. Khazhismel Kumykov 2016-05-16 02:19:08 -04:00
  • a1b5cefc8b Add move_role Khazhismel Kumykov 2016-05-01 18:47:39 -04:00
  • e66b2dce88 Rename threading internal variable conflict. Rapptz 2016-05-13 20:24:45 -04:00
  • 9077b4e319 Fix Member.colour to use the new algorithm for determining colour. Rapptz 2016-05-12 21:35:17 -04:00
  • 9176caa355 Fix Channel.permissions_for to work with the new permission system. Rapptz 2016-05-12 21:14:52 -04:00
  • dd8a60f743 Add Permissions.administrator and change Permissions.manage_roles Rapptz 2016-05-12 21:10:02 -04:00
  • 92175ea152 Add example for Client.purge_from Rapptz 2016-05-12 09:05:51 -04:00
  • 493bffc685 Rework playlist example to work with multi-server voice. Rapptz 2016-05-12 06:02:15 -04:00
  • 1155a0aaa4 Make Player threads into daemon threads. Rapptz 2016-05-11 21:36:27 -04:00
  • 3c04ec2af0 Add a way to change the player volume. Rapptz 2016-05-11 21:19:52 -04:00
  • 339e26275f Add VoiceClient.move_to for quick switching of voice channels. Rapptz 2016-05-11 20:34:37 -04:00
  • 132873d159 Add clarification for purge_from and delete_messages Twentysix 2016-05-11 17:13:34 +02:00
  • b8eab5f656 Change second run_until_complete to not be empty. Rapptz 2016-05-10 20:21:08 -04:00
  • 0c8d5ee863 Force encoding of text retrieval functions to use utf-8. Rapptz 2016-05-10 19:51:59 -04:00
  • 1e175f2ab3 Fix issue with Client.purge_from not deleting the 101st message. Rapptz 2016-05-10 19:39:58 -04:00
  • 1f86a9b795 Add Client.purge_from as a high level interface around bulk delete. Rapptz 2016-05-10 08:38:12 -04:00
  • 1b601097d2 Add Client.delete_messages for bulk delete. Rapptz 2016-05-10 07:52:22 -04:00
  • cf2bee5c43 Fix issue with Member.joined_at being None. Rapptz 2016-05-10 06:04:31 -04:00
  • 3feba5d1bb Add Game.type and Game.url attributes to change streaming status. Rapptz 2016-05-06 16:38:22 -04:00
  • 701720a0f8 Add a TimeoutError if VoiceClient.connect fails. Rapptz 2016-05-06 13:30:44 -04:00
  • 570ccbf753 Suppress ConnectionClosed on sending in the main websocket. Rapptz 2016-05-06 13:19:41 -04:00
  • 2fc496304c Add libopus DLLs for ease of use. Rapptz 2016-05-06 12:22:03 -04:00