Commit Graph
75 Commits
Author SHA1 Message Date
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
JoshandRapptz 9653ec5188 [matrix] Modal cleanup
* General modal cleanup

* Remove second scrollbar caused by modal
2020-12-18 21:18:51 -05:00
JoshandRapptz e7c6643730 [matrix] Dark Theme
* Apply width restructions to modals and images

* Dark theme 2.0

* Add webkit scrollbar

* Use Object.keys instead of Object.entries where applicable
2020-12-18 21:18:51 -05:00
c21919cee5 [matrix] Add sans-serif font toggle to settings modal
* Add sans serif font toggle

* remove unnecessary boolean comparison from setFont

Co-authored-by: slice <ryaneft@gmail.com>

* Update checkbox title

Co-authored-by: slice <ryaneft@gmail.com>

* General cleanup of settings system

* Apply overflow hidden to modal

Co-authored-by: slice <ryaneft@gmail.com>
2020-12-18 21:18:50 -05:00
JoshandRapptz 8be9ef38db [matrix] Create settings modal
* Create settings modal

* Fix issue with spacing after settings button

* Fix issue with modal background on mobile devices

* Add close button to modal

* Add tooltip to close button

* Support closing modal with escape key

* Add missing semicolon to keydown event listener
2020-12-18 21:18:50 -05:00
JoshandRapptz 70c73084b3 [matrix] Refactor docs JS
* Refactor custom.js

* Refactor scorer.js

* tables variable shoudn't be in global scope
2020-12-18 21:18:50 -05:00
JoshandGitHub f8e428bd5b Add support for chunking AsyncIterator objects 2020-12-03 18:32:53 -05:00
JoshandGitHub 62040de6a7 Fix Colour.dark_theme docstring. 2020-10-16 22:51:50 -04:00
JoshandRapptz 9830e0ed8a Fix issues with VoiceProtocol docstrsings. 2020-09-23 03:20:35 -04:00
JoshandGitHub f8a7d3fc54 [commands] Fix exception raised in Command invoke hooks. 2020-09-09 19:47:05 -04:00
JoshandGitHub 6baacb2c23 [tasks] Don't update _next_iteration on retry 2020-08-28 23:12:07 -04:00
JoshandGitHub a947c7a6ec Fix gramatical error in Client guild_subscriptions docs 2020-08-04 21:47:33 -04:00
JoshandGitHub 6b5be39cd2 [tasks] Fix issue with default error handler in class context 2020-06-28 03:53:29 -04:00
JoshandRapptz c424d82f74 Add versionadded to Attachment.to_file use_cached param 2020-05-02 19:57:48 -04:00
Josh BandRapptz 20854de080 Allow for optional custom error handler in tasks extension 2020-04-04 03:11:25 -04:00
Josh BandRapptz d0a1956be9 Improve usability of utils.sleep_until
Fix issue where sleeping for an extended period on python 3.5
would cause an exception

Add sleep_until to API docs

Add result argument to sleep_until
2020-01-21 20:28:14 -05:00
Josh BandRapptz 40369a493d Add discord.utils.sleep_until helper function 2020-01-21 03:18:25 -05:00
Josh BandRapptz d7e925eb89 [tasks] Fix issue with next_iteration when task overruns time allotted 2020-01-21 03:18:25 -05:00
Josh BandRapptz a0b3e61b51 [tasks] Add Loop.next_iteration property 2020-01-20 07:22:21 -05:00
Josh BandRapptz 7df5effbb7 Add new audit log entry types. Fix issue with unknown entry types 2019-11-26 05:16:53 -05:00
Josh BandRapptz 46246a2844 Add view_guild_insights permission 2019-11-15 04:23:26 -05:00
Josh BandRapptz 07840db053 Document Command.cog property 2019-10-17 05:56:01 -04:00
Joshua BandDanny 8240454555 Add self_stream property to VoiceState object. 2019-09-19 21:21:54 -04:00
Joshua BandDanny 017d428db5 Fix discord.Object type hinting docs
discord.Object requires ID as an int not str
2019-09-19 21:15:41 -04:00
Joshua BandGitHub 9d0400516a Fix TeamMember.team typehinting
class Team should be capitalised.
2019-07-01 03:08:49 +10:00
Joshua BandRapptz d221ca5f7d [commands] ColourConverter raises if value is out of range
changes make the `ext.commands.ColourConverter` Converter fail when
user input is outside the acceptable value range 0x000000 - 0xFFFFFF
2019-03-19 09:23:10 -04:00
Joshua Butt f5a443fa8f Add support for animated emoji to commands ext EmojiConverter 2017-12-22 14:59:21 +10:00