Commit Graph
100 Commits
Author SHA1 Message Date
JoshandGitHub 9fcb3c8871 [commands] Add overload to run_converters 2022-04-17 05:28:16 -04:00
JoshandGitHub deb7958797 Add new on_thread_create event 2022-04-04 07:22:21 -04:00
JoshandGitHub 20d2ab96e8 Fix check for when autocomplete is overridden 2022-04-03 05:36:57 -04:00
151948a09a Add autocomplete method to Transformers
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
2022-04-03 02:32:16 -04:00
JoshandGitHub 01e2c69b20 Add tests for validating command signature mismatch error handling 2022-04-02 04:57:05 -04:00
JoshandGitHub d600436378 [types] Use PEP-655 style Required/NotRequired types 2022-04-02 01:46:10 -04:00
c11363f037 Rework File.spoiler to synchronise with the filename
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
2022-03-31 09:18:36 -04:00
JoshandGitHub 2d1cbacc58 [commands] Add tree_cls to Bot constructor 2022-03-24 22:32:31 -04:00
JoshandGitHub 46b3e036e2 [commands] Fix help error/invoke hooks not running 2022-03-22 06:02:52 -04:00
JoshandGitHub 1b70fad5ec [commands] Fix exceptions in HelpCommand 2022-03-19 13:14:17 -04:00
JoshandGitHub fafc5b13f6 [commands] Rework help command to avoid a deepcopy on invoke 2022-03-19 06:34:19 -04:00
JoshandGitHub e01d4a31eb Replace invariant container types with wider types where applicable 2022-03-17 07:26:01 -04:00
JoshandGitHub a1c618215e [commads] Change cog/extension load/unload methods to be async 2022-03-13 21:03:45 -04:00
JoshandGitHub 9d3fa3d29b [commands] Simplify typing of command hooks 2022-03-06 03:44:20 -05:00
c907bec753 Add Interaction creation/expiry attributes and helper method
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
2022-03-06 03:43:50 -05:00
JoshandGitHub eaf94e84bc Fix unbound ParamSpec to use ... over Any 2022-03-06 01:44:48 -05:00
JoshandGitHub 147948af9b Use typing.Self throughout library 2022-03-01 07:53:24 -05:00
JoshandGitHub 2b69b5d545 Remove discord.InvalidArgument
This uses TypeError and ValueError instead.
2022-02-26 01:44:49 -05:00
JoshandGitHub 39c5a4fdc3 Fix type-errors in commands extension 2022-02-23 08:04:49 -05:00
JoshandGitHub a315786869 Handle type-errors in upcoming pyright release 2022-02-22 08:51:11 -05:00
JoshandRapptz 285069de08 Fix types in guild.py 2022-02-22 04:00:46 -05:00
JoshandRapptz 3ce00abeae Fix some type-check errors 2022-02-22 03:59:58 -05:00
JoshandRapptz c8064ba6f2 Type-hint gateway 2022-02-22 03:59:58 -05:00
JoshandRapptz f5e087c5c3 Fix typing in emoji.py 2022-02-22 03:59:58 -05:00
JoshandGitHub 70b577e94b Fix typing in voice related files 2022-02-22 02:37:22 -05:00
JoshandGitHub 437d451d4e Fix typing in Audit Logs 2022-02-21 23:32:59 -05:00
JoshandGitHub d409ddd227 Alter return-type of button/select decorators 2022-02-21 21:54:44 -05:00
JoshandGitHub 6dbd40a8ef Remove use of typing.Self from TextInput 2022-02-21 09:13:18 -05:00
JoshandGitHub 19c6687b55 Add support for Modal Interactions 2022-02-20 04:57:44 -05:00
JoshandGitHub 4dbe1af32f Update sphinx and fix documentation issues 2022-02-19 22:35:32 -05:00
JoshandGitHub dede5539ee Add support for editing message attachments 2022-02-19 22:02:53 -05:00
JoshandGitHub 61974411df [commands] Fix issue in PartialMessageConverter._resolve channel 2022-02-18 23:00:52 -05:00
JoshandGitHub 352dcf9557 Add missing audit log properties 2022-02-18 20:36:51 -05:00
JoshandGitHub 37f96e3473 Add message_content intent and move to api v10 2022-02-18 08:44:46 -05:00
JoshandGitHub b1571ccc25 [commands] Fix Command.cog being reset after update 2022-02-18 08:31:45 -05:00
JoshandGitHub ce01033e06 Allow PartialMessage.channel to be a PartialMessageable 2022-02-18 08:31:07 -05:00
JoshandGitHub 4248bb3717 Add invitable to TextChannel.create_thread 2022-02-18 05:24:40 -05:00
JoshandGitHub 08bee0eeb6 Add support for file/attachment descriptions 2022-02-18 05:23:02 -05:00
JoshandGitHub e05c80b963 [types] Refactor and add Application Command types 2022-02-18 03:22:40 -05:00
JoshandGitHub d2ea33e5e9 Add support for invitable thread option 2021-08-26 15:52:07 -04:00
JoshandGitHub 9727b56503 Fix references in docs 2021-08-22 05:50:28 -04:00
JoshandGitHub d09993d7e7 Remove created_at from Snowflake Protocol 2021-08-22 05:28:10 -04:00
JoshandGitHub 166152647c [commands] Make GroupMixin Generic 2021-08-21 14:35:05 -04:00
JoshandGitHub 745cf541ea Re-define Member properties inferred from User to support type-checking 2021-08-20 20:02:39 -04:00
JoshandGitHub f3cb197429 [commands][types] Type hint commands-ext 2021-08-19 19:51:26 -04:00
JoshandGitHub 5e800a726e [types] Add Application Command Type payloads 2021-08-10 08:36:37 -04:00
JoshandGitHub 1c63816cc0 [commands] Document / type-hint cooldown 2021-08-10 08:35:15 -04:00
JoshandGitHub 41e2d3c637 Allow callables in abc.Connectable.Connect 2021-07-28 19:58:01 -04:00
JoshandGitHub c059d43e98 Add Number type (10) to Application Command Option types 2021-07-28 19:53:58 -04:00
JoshandGitHub e0a9365d61 Type-hint backoff.py 2021-07-07 20:17:17 -04:00
JoshandGitHub f40f80c0dc Fix typo in voice_client.py 2021-07-04 19:14:07 -04:00
d001b9d0ee [docs] Fix more references
Co-Authored-By: Riley Shaw <30989490+ShineyDev@users.noreply.github.com>
2021-07-01 07:48:37 -04:00
JoshandGitHub 39a674ddee Fix typing of ApplicationCommandInteractionDataOption 2021-06-29 21:29:24 -04:00
JoshandGitHub 7601d6cec3 [typing] Type-hint client.py 2021-06-29 20:02:19 -04:00
JoshandGitHub 5acea453cc Type-hint voice_client / player 2021-06-28 00:59:14 -04:00
233d10649c [docs] Update Sphinx and Fix various references
Co-Authored-By: Riley Shaw <30989490+ShineyDev@users.noreply.github.com>
2021-06-27 23:43:49 -04:00
JoshandGitHub a0e1d1e25f Fix typing of IntegrationAccount class 2021-06-11 04:25:23 -04:00
JoshandGitHub 04788d0a06 Type-Hint appinfo/team 2021-06-10 08:06:00 -04:00
JoshandGitHub 35a9533e8d Type-Hint http.py 2021-06-10 07:34:41 -04:00
JoshandGitHub 42a538edda [tasks] Replace None check with MISSING check in task loop 2021-05-15 02:10:00 -04:00
JoshandGitHub 5fa64e83e0 Fix issues with imports causing NameErrors 2021-05-12 20:24:28 -04:00
JoshandGitHub ef22178dee [tasks] Type hint the tasks extension 2021-05-12 06:31:40 -04:00
JoshandGitHub 8b2241916a Typehint Widget 2021-05-09 23:22:12 -04:00
JoshandGitHub 7ebfface22 Explicitly ignore legacy file reference errors in sphinx -n mode 2021-05-06 09:12:19 -04:00
3864fb37a0 Fix various reference issues in documentation
Co-Authored-By: Riley Shaw <30989490+ShineyDev@users.noreply.github.com>
2021-05-06 07:51:07 -04:00
JoshandGitHub 7fde57c89a Type-hint object.py 2021-05-05 10:29:07 -04:00
JoshandGitHub c69b20c52c Type hint colour.py 2021-05-05 10:27:52 -04:00
JoshandGitHub 6622be9f46 Make GuildChannel inherit Snowflake 2021-05-05 07:42:39 -04:00
JoshandGitHub dc67d2bd85 Replace uses of Ellipsis as sentinels with utils.MISSING 2021-05-03 00:31:07 -04:00
JoshandGitHub 3c2674725a Add as_chunks helper function 2021-04-25 23:36:03 -04:00
JoshandGitHub 20c2664a50 [docs] Remove extraneous icon definition 2021-04-25 19:21:09 -04:00
JoshandGitHub 368fda7272 Remove HypesquadHouse enum from docs 2021-04-25 04:35:45 -04:00
JoshandGitHub 4fbc78ba81 [commands] Add support for typing.Union to Flags 2021-04-25 04:35:19 -04:00
JoshandGitHub e5607822d3 Define utils.cached_property in if TYPE_CHECKING guard 2021-04-22 21:11:56 -04:00
JoshandGitHub 8457f70477 [commands] Set constructible FlagConverter flags to not be required 2021-04-21 23:21:02 -04:00
JoshandGitHub cfe93f19b1 [commands] Allow FlagCommand subclasses to inherit options 2021-04-21 07:16:23 -04:00
JoshandGitHub 42463bae67 [commands] Add support for aliasing to FlagConverter 2021-04-21 00:31:01 -04:00
JoshandGitHub 7f91ae8b67 [commands] use __args__ and __origin__ where applicable 2021-04-11 00:38:17 -04:00
JoshandGitHub c54c4cb215 [commands] Fix repr for Greedy 2021-04-10 22:34:24 -04:00
JoshandGitHub fce67c32c9 Add spoiler attribute to File 2021-01-17 00:18:10 -05:00
JoshandGitHub 73a783cd6b Strip both - and _ from newcog class names 2021-01-15 05:34:05 -05:00
JoshandGitHub eeafc9363f [commands] Add PartialMessageConverter 2021-01-15 05:26:03 -05:00
JoshandGitHub f78f135505 [matrix] Add scroll to top button 2021-01-12 02:34:54 -05:00
JoshandGitHub e2d4c6d2b1 Apply settings before DOM loaded. 2020-12-21 14:34:19 -05:00
JoshandRapptz 786a7aad87 Set maximimum sidebar width 2020-12-18 21:18:58 -05:00
JoshandRapptz 4b82785e10 [matrix] Hide hamburger menu on pages without sidebar 2020-12-18 21:18:58 -05:00
JoshandRapptz 2ad87dbff6 [matrix] Fix JS errors on search results page 2020-12-18 21:18:57 -05:00
JoshandRapptz c2e5b734ad [matrix] Refactor JS & add searchbar to mobile. 2020-12-18 21:18:56 -05:00
JoshandRapptz ffdddb0fe5 [matrix] Set theme to system preferred by default 2020-12-18 21:18:56 -05:00
JoshandRapptz 07ec9bc370 Fix sidebar jank on desktop. 2020-12-18 21:18:55 -05:00
JoshandRapptz 7038c5af8b Fix issues with horizontal overflow on mobile 2020-12-18 21:18:55 -05:00
JoshandRapptz 0d58691561 Default to sans-serif font 2020-12-18 21:18:55 -05:00
JoshandRapptz 29103c08ab [matrix] Display navbar links on mobile 2020-12-18 21:18:55 -05:00
JoshandRapptz 369da72f2f Fix sidebar scrolling on mobile 2020-12-18 21:18:54 -05:00
JoshandRapptz ad847e3dd6 Fix jank on iPads 2020-12-18 21:18:53 -05:00
JoshandRapptz b86a1957eb [matrix] General Sidebar cleanup (#5061) 2020-12-18 21:18:53 -05:00
Josh BandRapptz 8d635b765d Set colours for active sidebar elements 2020-12-18 21:18:53 -05:00
Josh BandRapptz 9e214feadc Fix sidebar active link selection 2020-12-18 21:18:52 -05:00
Josh BandRapptz 16740623a3 Create settings icon for mobile 2020-12-18 21:18:52 -05:00
JoshandRapptz 410a0c8794 Use default scrollbar for body on webkit browsers 2020-12-18 21:18:51 -05:00