Josh and GitHub
166152647c
[commands] Make GroupMixin Generic
2021-08-21 14:35:05 -04:00
Josh and GitHub
745cf541ea
Re-define Member properties inferred from User to support type-checking
2021-08-20 20:02:39 -04:00
Josh and GitHub
f3cb197429
[commands][types] Type hint commands-ext
2021-08-19 19:51:26 -04:00
Josh and GitHub
5e800a726e
[types] Add Application Command Type payloads
2021-08-10 08:36:37 -04:00
Josh and GitHub
1c63816cc0
[commands] Document / type-hint cooldown
2021-08-10 08:35:15 -04:00
Josh and GitHub
41e2d3c637
Allow callables in abc.Connectable.Connect
2021-07-28 19:58:01 -04:00
Josh and GitHub
c059d43e98
Add Number type (10) to Application Command Option types
2021-07-28 19:53:58 -04:00
Josh and GitHub
e0a9365d61
Type-hint backoff.py
2021-07-07 20:17:17 -04:00
Josh and GitHub
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
Josh and GitHub
39a674ddee
Fix typing of ApplicationCommandInteractionDataOption
2021-06-29 21:29:24 -04:00
Josh and GitHub
7601d6cec3
[typing] Type-hint client.py
2021-06-29 20:02:19 -04:00
Josh and GitHub
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
Josh and GitHub
a0e1d1e25f
Fix typing of IntegrationAccount class
2021-06-11 04:25:23 -04:00
Josh and GitHub
04788d0a06
Type-Hint appinfo/team
2021-06-10 08:06:00 -04:00
Josh and GitHub
35a9533e8d
Type-Hint http.py
2021-06-10 07:34:41 -04:00
Josh and GitHub
42a538edda
[tasks] Replace None check with MISSING check in task loop
2021-05-15 02:10:00 -04:00
Josh and GitHub
5fa64e83e0
Fix issues with imports causing NameErrors
2021-05-12 20:24:28 -04:00
Josh and GitHub
ef22178dee
[tasks] Type hint the tasks extension
2021-05-12 06:31:40 -04:00
Josh and GitHub
8b2241916a
Typehint Widget
2021-05-09 23:22:12 -04:00
Josh and GitHub
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
Josh and GitHub
7fde57c89a
Type-hint object.py
2021-05-05 10:29:07 -04:00
Josh and GitHub
c69b20c52c
Type hint colour.py
2021-05-05 10:27:52 -04:00
Josh and GitHub
6622be9f46
Make GuildChannel inherit Snowflake
2021-05-05 07:42:39 -04:00
Josh and GitHub
dc67d2bd85
Replace uses of Ellipsis as sentinels with utils.MISSING
2021-05-03 00:31:07 -04:00
Josh and GitHub
3c2674725a
Add as_chunks helper function
2021-04-25 23:36:03 -04:00
Josh and GitHub
20c2664a50
[docs] Remove extraneous icon definition
2021-04-25 19:21:09 -04:00
Josh and GitHub
368fda7272
Remove HypesquadHouse enum from docs
2021-04-25 04:35:45 -04:00
Josh and GitHub
4fbc78ba81
[commands] Add support for typing.Union to Flags
2021-04-25 04:35:19 -04:00
Josh and GitHub
e5607822d3
Define utils.cached_property in if TYPE_CHECKING guard
2021-04-22 21:11:56 -04:00
Josh and GitHub
8457f70477
[commands] Set constructible FlagConverter flags to not be required
2021-04-21 23:21:02 -04:00
Josh and GitHub
cfe93f19b1
[commands] Allow FlagCommand subclasses to inherit options
2021-04-21 07:16:23 -04:00
Josh and GitHub
42463bae67
[commands] Add support for aliasing to FlagConverter
2021-04-21 00:31:01 -04:00
Josh and GitHub
7f91ae8b67
[commands] use __args__ and __origin__ where applicable
2021-04-11 00:38:17 -04:00
Josh and GitHub
c54c4cb215
[commands] Fix repr for Greedy
2021-04-10 22:34:24 -04:00
Josh and GitHub
fce67c32c9
Add spoiler attribute to File
2021-01-17 00:18:10 -05:00
Josh and GitHub
73a783cd6b
Strip both - and _ from newcog class names
2021-01-15 05:34:05 -05:00
Josh and GitHub
eeafc9363f
[commands] Add PartialMessageConverter
2021-01-15 05:26:03 -05:00
Josh and GitHub
f78f135505
[matrix] Add scroll to top button
2021-01-12 02:34:54 -05:00
Josh and GitHub
e2d4c6d2b1
Apply settings before DOM loaded.
2020-12-21 14:34:19 -05:00
Josh and Rapptz
786a7aad87
Set maximimum sidebar width
2020-12-18 21:18:58 -05:00
Josh and Rapptz
4b82785e10
[matrix] Hide hamburger menu on pages without sidebar
2020-12-18 21:18:58 -05:00
Josh and Rapptz
2ad87dbff6
[matrix] Fix JS errors on search results page
2020-12-18 21:18:57 -05:00
Josh and Rapptz
c2e5b734ad
[matrix] Refactor JS & add searchbar to mobile.
2020-12-18 21:18:56 -05:00
Josh and Rapptz
ffdddb0fe5
[matrix] Set theme to system preferred by default
2020-12-18 21:18:56 -05:00
Josh and Rapptz
07ec9bc370
Fix sidebar jank on desktop.
2020-12-18 21:18:55 -05:00
Josh and Rapptz
7038c5af8b
Fix issues with horizontal overflow on mobile
2020-12-18 21:18:55 -05:00
Josh and Rapptz
0d58691561
Default to sans-serif font
2020-12-18 21:18:55 -05:00
Josh and Rapptz
29103c08ab
[matrix] Display navbar links on mobile
2020-12-18 21:18:55 -05:00
Josh and Rapptz
369da72f2f
Fix sidebar scrolling on mobile
2020-12-18 21:18:54 -05:00
Josh and Rapptz
ad847e3dd6
Fix jank on iPads
2020-12-18 21:18:53 -05:00
Josh and Rapptz
b86a1957eb
[matrix] General Sidebar cleanup ( #5061 )
2020-12-18 21:18:53 -05:00
Josh B and Rapptz
8d635b765d
Set colours for active sidebar elements
2020-12-18 21:18:53 -05:00
Josh B and Rapptz
9e214feadc
Fix sidebar active link selection
2020-12-18 21:18:52 -05:00
Josh B and Rapptz
16740623a3
Create settings icon for mobile
2020-12-18 21:18:52 -05:00
Josh and Rapptz
410a0c8794
Use default scrollbar for body on webkit browsers
2020-12-18 21:18:51 -05:00
Josh and Rapptz
9653ec5188
[matrix] Modal cleanup
...
* General modal cleanup
* Remove second scrollbar caused by modal
2020-12-18 21:18:51 -05:00
Josh and Rapptz
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
Josh and Rapptz
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
Josh and Rapptz
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
Josh and GitHub
f8e428bd5b
Add support for chunking AsyncIterator objects
2020-12-03 18:32:53 -05:00
Josh and GitHub
62040de6a7
Fix Colour.dark_theme docstring.
2020-10-16 22:51:50 -04:00
Josh and Rapptz
9830e0ed8a
Fix issues with VoiceProtocol docstrsings.
2020-09-23 03:20:35 -04:00
Josh and GitHub
f8a7d3fc54
[commands] Fix exception raised in Command invoke hooks.
2020-09-09 19:47:05 -04:00
Josh and GitHub
6baacb2c23
[tasks] Don't update _next_iteration on retry
2020-08-28 23:12:07 -04:00
Josh and GitHub
a947c7a6ec
Fix gramatical error in Client guild_subscriptions docs
2020-08-04 21:47:33 -04:00
Josh and GitHub
6b5be39cd2
[tasks] Fix issue with default error handler in class context
2020-06-28 03:53:29 -04:00
Josh and Rapptz
c424d82f74
Add versionadded to Attachment.to_file use_cached param
2020-05-02 19:57:48 -04:00
Josh B and Rapptz
20854de080
Allow for optional custom error handler in tasks extension
2020-04-04 03:11:25 -04:00
Josh B and Rapptz
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 B and Rapptz
40369a493d
Add discord.utils.sleep_until helper function
2020-01-21 03:18:25 -05:00
Josh B and Rapptz
d7e925eb89
[tasks] Fix issue with next_iteration when task overruns time allotted
2020-01-21 03:18:25 -05:00
Josh B and Rapptz
a0b3e61b51
[tasks] Add Loop.next_iteration property
2020-01-20 07:22:21 -05:00
Josh B and Rapptz
7df5effbb7
Add new audit log entry types. Fix issue with unknown entry types
2019-11-26 05:16:53 -05:00
Josh B and Rapptz
46246a2844
Add view_guild_insights permission
2019-11-15 04:23:26 -05:00
Josh B and Rapptz
07840db053
Document Command.cog property
2019-10-17 05:56:01 -04:00
Joshua B and Danny
8240454555
Add self_stream property to VoiceState object.
2019-09-19 21:21:54 -04:00
Joshua B and Danny
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 B and GitHub
9d0400516a
Fix TeamMember.team typehinting
...
class Team should be capitalised.
2019-07-01 03:08:49 +10:00
Joshua B and Rapptz
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