Commit Graph

  • 41d22f4312 Fix all_channel permissions James Gayfer 2021-08-27 17:04:18 -07:00
  • 12dcc7c44b Rearrange player cleanup code Imayhaveborkedit 2021-08-27 19:40:31 -04:00
  • b12fe223b2 Fix description of Data Classes section in api.rst jack1142 2021-08-28 00:13:55 +02:00
  • a2a7b0f076 [tasks] Improve typing parity Nadir Chowdhury 2021-08-27 22:18:15 +01:00
  • b2ac327bd8 [commands] Fix a small typo in Context.invoke docs ShashankKumarSaxena 2021-08-28 01:32:10 +05:30
  • f485f1b612 Fix a typo in docstrings of Client class Abhinav Singh 2021-08-28 01:31:44 +05:30
  • 29b808d33f Change avatar_url type hint to Any instead of str Rapptz 2021-08-27 05:40:50 -04:00
  • 516675dd2e Fix a typo in member_role_update numbermaniac 2021-08-27 16:05:44 +10:00
  • 932efa1edc Change a few parameters to be positional only Chrovo 2021-08-26 20:47:24 -04:00
  • 059ec161f8 Fix Webhook return types Steve C 2021-08-26 20:46:25 -04:00
  • e7821be4aa Add default value for invitable in HTTPClient Danny 2021-08-26 17:51:49 -04:00
  • 4aafa39e8c Update thread permissions James Gayfer 2021-08-26 12:53:21 -07:00
  • d2ea33e5e9 Add support for invitable thread option Josh 2021-08-27 05:52:07 +10:00
  • 2f2c39ed22 Add Client.status attribute pyxiis 2021-08-26 15:50:21 -04:00
  • efec816de2 Make arguments positional only in 2 get methods Izhar Ahmad 2021-08-26 05:52:20 +05:00
  • dd7d4b8e7f Use a thread values view when constructing TextChannel.threads Rapptz 2021-08-25 20:42:21 -04:00
  • 2d8f299b6b Use MISSING instead of None for HelpCommand.context Rapptz 2021-08-25 09:53:55 -04:00
  • 3382d2e9e8 Update documentation on select limits Rapptz 2021-08-25 09:21:49 -04:00
  • 539577a2dd Bring back ParamSpec in utils Rapptz 2021-08-25 05:30:41 -04:00
  • 4f8e67998a Fix copy_doc typing to not error due to overloaded ParamSpec Rapptz 2021-08-25 03:41:06 -04:00
  • 848d752388 Change User.avatar to be Optional[Asset] instead of Asset Rapptz 2021-08-25 01:42:29 -04:00
  • 78598d59d7 Change on_socket_raw_receive to dispatch right before JSON conversion Rapptz 2021-08-25 01:26:37 -04:00
  • ef79305961 Exclude private functions from VoiceClient Rapptz 2021-08-24 22:49:12 -04:00
  • c6a6c6af85 Add Colour.brand_green and Colour.brand_red Ryan 2021-08-24 19:02:36 +08:00
  • 9a61a5a063 Typehint Colour.__init__ parameter Rapptz 2021-08-24 03:15:28 -04:00
  • 565b41b0b2 Fix Embed.from_dict typing being too strict for a public function Rapptz 2021-08-24 03:15:06 -04:00
  • 835432d161 Allow enums to be compared Sebastian Law 2021-08-23 23:28:39 -07:00
  • f586f4dfbd Clarify connect() requires Intents.voice_states Imayhaveborkedit 2021-08-24 00:02:21 -04:00
  • 769db38401 Fix typing error in sticker edit Rapptz 2021-08-23 23:52:45 -04:00
  • c82739a3be Fix some typings in HTTPClient to not take strict payload types Rapptz 2021-08-23 23:52:16 -04:00
  • 8306b9f6af Add type hint for suppress parameter Rapptz 2021-08-23 23:51:40 -04:00
  • 490bbffc93 Remove in-place edits and return fresh instances instead Rapptz 2021-08-23 23:46:50 -04:00
  • 9d4fa0341e Fix typing of move role position payload parameter Rapptz 2021-08-23 23:18:35 -04:00
  • cff9ca0288 Fix typings for member HTTP methods Rapptz 2021-08-23 22:58:39 -04:00
  • 9dd86bbcb3 Add type hints to AsyncWebhookAdapter methods Rapptz 2021-08-23 22:38:33 -04:00
  • 8bbb8f6db9 Use getattr for default_auto_archive_duration in Message.create_thread Rapptz 2021-08-23 22:07:29 -04:00
  • d8b06ca7f2 Fix message.py typehints Stocker 2021-08-23 23:43:57 -04:00
  • 3561ce9d5a Fix FFmpeg based audiosource input piping Imayhaveborkedit 2021-08-23 21:05:31 -04:00
  • ae01a96bef Add missing type: ignore and missing typehint to channel.py Stocker 2021-08-23 21:03:56 -04:00
  • 5ef37923de Make getters in Client positional only MrKomodoDragon 2021-08-23 02:28:52 -07:00
  • 61abb43b69 Fix type hints for decorators in utils James Hilton-Balfe 2021-08-23 10:26:30 +01:00
  • 73f953eac5 Add missing return type to utils.oauth_url MrKomodoDragon 2021-08-23 02:25:21 -07:00
  • 400936df69 Fix type for content param in HTTPClient.send_message Stocker 2021-08-23 05:24:43 -04:00
  • cdf46127ae Added type: ignores where needed to activity.py Stocker 2021-08-23 05:22:36 -04:00
  • 851dfc3c75 Fix permissions.py typing apple502j 2021-08-23 14:57:58 +09:00
  • b8898c7788 Fix user.py typings and reformat file Rapptz 2021-08-22 07:37:29 -04:00
  • d17551f51f Fix typing for private channel by user lookup Rapptz 2021-08-22 07:36:39 -04:00
  • 4a6670c062 Add missing typehint for PermissionOverwrite.pair Rapptz 2021-08-22 07:29:30 -04:00
  • d7a4230007 Fix Member.guild_avatar docstring Rapptz 2021-08-22 07:06:54 -04:00
  • 2e52059555 [types] Add avatar to Member typings Rapptz 2021-08-22 06:55:36 -04:00
  • 49cf959784 Fix Member._avatar not updating in member update events Rapptz 2021-08-22 06:54:38 -04:00
  • 91652e3b60 Add per-guild member avatar support JustAnyone 2021-08-22 13:49:42 +03:00
  • 9db8698748 Typehint opus.py apple502j 2021-08-22 19:08:30 +09:00
  • 9727b56503 Fix references in docs Josh 2021-08-22 19:50:28 +10:00
  • e46d974c8a Typehint oggparse.py apple502j 2021-08-22 18:44:41 +09:00
  • d09993d7e7 Remove created_at from Snowflake Protocol Josh 2021-08-22 19:28:10 +10:00
  • 69f578abdc Fix webhook typings and use PartialMessageable instead of Object Rapptz 2021-08-22 04:32:15 -04:00
  • 1b5c206279 Fix broken rename from pyright Rapptz 2021-08-22 03:05:22 -04:00
  • d2dd31de63 Make __main__ template strings private Rapptz 2021-08-22 02:41:27 -04:00
  • d0c295b595 Add explicit type annotation to version_info and reformat Rapptz 2021-08-22 02:38:51 -04:00
  • e1e3e298b5 Typehint async_context global variable Rapptz 2021-08-22 02:37:40 -04:00
  • 4a72201617 Make json conversion functions private Rapptz 2021-08-22 02:35:58 -04:00
  • ea2d972666 Make global log variable in modules private Rapptz 2021-08-22 02:33:51 -04:00
  • 6268cad402 ResponseType type alias is private Rapptz 2021-08-22 02:28:37 -04:00
  • 55f79ed096 Add typing metadata Riley Shaw 2021-08-22 07:25:13 +01:00
  • 4065014794 Add type: ignore for StageInstance.channel Stocker 2021-08-21 16:28:15 -04:00
  • 8d80259a80 Reformat shard.py Rapptz 2021-08-21 14:53:19 -04:00
  • 311eac97b0 Reformat state.py Rapptz 2021-08-21 14:48:22 -04:00
  • d5033b04a2 Don't clear views in READY Rapptz 2021-08-21 14:47:08 -04:00
  • 7592300535 Typehint state.py Stocker 2021-08-21 14:39:02 -04:00
  • 166152647c [commands] Make GroupMixin Generic Josh 2021-08-22 04:35:05 +10:00
  • 6c36df6c11 Add missing typehints for Member properties Arnav Jindal 2021-08-21 23:48:27 +05:30
  • fbc4a51c35 Fix on_typing not dispatching for threads Rapptz 2021-08-20 20:09:18 -04:00
  • 9246bbc8e3 [commands] De-indent after hook call Rapptz 2021-08-20 20:08:27 -04:00
  • fa5a2188bb Copy docs from Client.close() to Bot.close() Willy 2021-08-20 20:06:51 -04:00
  • 5390caa67d Typehint shard.py Stocker 2021-08-20 20:05:02 -04:00
  • 745cf541ea Re-define Member properties inferred from User to support type-checking Josh 2021-08-21 10:02:39 +10:00
  • ef32f6d882 Typehint context_managers.py Stocker 2021-08-20 19:50:39 -04:00
  • b6590d7f56 Add a few typehints to opus.py Stocker 2021-08-19 20:23:35 -04:00
  • b5a717fb80 Fix missing typehint that causes an error for a type checker Stocker 2021-08-19 20:19:24 -04:00
  • f4d5fcc8f9 Add Thread to the return type of Client.get_channel Stocker 2021-08-19 20:18:27 -04:00
  • 1d2eaf8526 [commands] reset view when Optional argument encounters parsing error Sebastian Law 2021-08-19 16:56:28 -07:00
  • f3cb197429 [commands][types] Type hint commands-ext Josh 2021-08-20 09:51:26 +10:00
  • d4c683738d default to 0 instead of 15 for Guild.sticker_limit Nadir Chowdhury 2021-08-19 11:21:52 +01:00
  • 489e5f3288 Use channel default auto archive duration James Gayfer 2021-08-18 02:12:40 -07:00
  • 63434fbfd9 Fix some type hints in user.py Rapptz 2021-08-18 01:59:06 -04:00
  • 68453c7bed Add Thread.members and Thread.fetch_members Rapptz 2021-08-18 01:57:07 -04:00
  • b73f02b9c3 Remove deprecated TextChannel.active_threads for Guild version Rapptz 2021-08-18 01:45:30 -04:00
  • 0df3f51a0b Partially type-hint state.py Rapptz 2021-08-18 01:41:46 -04:00
  • 17f0b59c76 Move explanation note for type ignore above the offending line Rapptz 2021-08-18 01:24:15 -04:00
  • 28ed599345 Fix Template.source_guild typehint Rapptz 2021-08-18 01:23:17 -04:00
  • e79a648987 Add missing typehints to template.py Stocker 2021-08-18 01:17:20 -04:00
  • 79bae47992 flag_value should not be a generic class Bryan Forbes 2021-08-18 00:05:08 -05:00
  • 8fdd1f0d8f [commands] Typehinted errors.py Stocker 2021-08-18 01:03:44 -04:00
  • 3b4c6269be Fix documentation for Message.is_system Rapptz 2021-08-18 01:01:24 -04:00
  • 27debe18ca Update Permissions classmethods to include thread/stage/sticker z03h 2021-08-17 21:46:30 -07:00
  • 8ac5cdc314 Fix Guild.fetch_channel not working for threads la 2021-08-18 13:45:45 +09:00
  • 6b6bcb92e6 Fix missing or broken versionadded in docstrings AkshuAgarwal 2021-08-18 04:45:02 +00:00
  • f7a3ea90b8 Add other message types exclusions to Message.is_system SYCKGit 2021-08-18 10:12:48 +05:30
  • c4ee9dcafa [commands] Return removed cog in Bot.remove_cog thetimtoy 2021-08-17 21:39:54 -07:00