Commit Graph
100 Commits
Author SHA1 Message Date
Rapptz 3576e2ee01 Add support for Permissions.request_to_speak 2021-04-01 00:53:07 -04:00
Rapptz 8a24a93010 Bring back older background task example under a new name 2021-03-30 20:29:03 -04:00
Rapptz e359aeb122 Fix background_task example to actually work 2021-03-30 20:28:41 -04:00
Rapptz 0c3be9713d Raise error if position could not be resolved in GuildChannel.move 2021-03-30 04:11:06 -04:00
Rapptz 7f0db1f35a Return early if no kwargs are given to GuildChannel.move 2021-03-30 03:54:58 -04:00
Rapptz a30ad6acf2 Ignore moving category channels to another category 2021-03-30 03:51:06 -04:00
Rapptz b850c9cd5d Add GuildChannel.move helper method to help with moving channels
Moving channels is seen as a complicated task, so hopefully this
abstracts a lot of it for users. There is no bulk move helper yet
since I'm unsure how the API for that should be.
2021-03-30 03:21:09 -04:00
Rapptz 862d509d2e [commands] Add support for stripping whitespace after the prefix
This is configured with the strip_after_prefix option in `Bot.__init__`
2021-03-28 21:21:09 -04:00
Rapptz c4c2cbf6d2 [commands] Remove nullability from help command implementation
Fixes #5154
2021-03-28 18:51:58 -04:00
Rapptz 4aee7fed5d [commands] Only remove top level commands on cog load failure 2021-03-28 18:35:59 -04:00
Rapptz 8657edfc99 Fallback to empty string for unavailable guild __str__ 2021-03-25 09:11:00 -04:00
Rapptz 5cb5126548 Make Attachment hashable and castable to str 2021-03-25 09:08:22 -04:00
Rapptz 1c8d1b0289 Recreate aiohttp.FormData objects during request retries
Fixes #6531
2021-03-24 08:50:34 -04:00
Rapptz 0b19fabbf0 Remove deprecated uses of about 2021-03-24 08:36:53 -04:00
Rapptz 9af99d2634 Update issue template 2021-03-24 08:35:41 -04:00
Rapptz 4c4d75dc29 Disallow empty sequences in Guild.query_members user_id parameter 2021-02-28 23:56:14 -05:00
Rapptz abfc07f968 Fix up previous PR mistake with intentional backslashes 2021-02-21 07:35:31 -05:00
Rapptz a8f44174ba Add Permissions.use_slash_commands 2021-02-18 07:28:37 -05:00
Rapptz 272339d5e6 Add support for the new permission serialization scheme. 2021-02-18 07:26:20 -05:00
Rapptz 88c23125ff Allow CustomActivity emoji to be constructed as documented.
Fix #4049
2021-02-18 00:43:19 -05:00
Rapptz 0cd1a88316 Clarify Message.nonce documentation
Fix #2451
2021-02-18 00:23:58 -05:00
Rapptz a0404807d5 [commands] Add support for rgb function in ColourConverter
This also adds support for 3 digit hex.

Fixes #6374
2021-02-07 07:18:56 -05:00
Rapptz adae90400f Some grammar nits 2021-02-02 03:57:09 -05:00
Rapptz 3030f8ce0d Fix some validation errors with the template yaml 2021-02-02 03:49:06 -05:00
Rapptz 82edc252e0 Switch issue templates to use the new issue forms alpha 2021-02-02 03:46:20 -05:00
Rapptz 30c06bc55f Always inject the HTML builder even in RTD builds 2021-02-02 03:01:12 -05:00
Rapptz 61884dd9ac Use member provided data in typing_start event if not in cache
Apparently Discord had this all along.

ref: #5965, #5983
2021-01-24 05:21:13 -05:00
Rapptz c5a44d8303 Version bump for development 2021-01-16 05:41:21 -05:00
Rapptz b9a99238e8 [commands] Add Command/Cog.has_error_handler
This allows querying the state without relying on internal undocumented
attributes.
2021-01-15 06:00:45 -05:00
Rapptz c09cf779a3 Fix tag references in builds 2021-01-08 04:39:24 -05:00
Rapptz 166f837693 Changelog fixes 2021-01-08 00:32:49 -05:00
Rapptz fc65526e9c Bump version to 1.6 2021-01-07 23:57:15 -05:00
Rapptz 50bc7a1523 Add changelog for v1.6 2021-01-07 23:57:15 -05:00
Rapptz 7c149312f0 Update copyright year in the documentation 2021-01-07 23:57:15 -05:00
Rapptz 442962596e Dispatch user updates if the global cache gets stale in update events 2021-01-07 23:57:14 -05:00
Rapptz 3a75816ba1 Support setting the preferred locale via Guild.edit
Fix #6267
2021-01-05 22:43:22 -05:00
Rapptz c793737e64 Fix search not working on mobile 2021-01-01 22:09:14 -05:00
Rapptz 5c868ed871 Fix SyntaxError from PR implementing presences in member querying 2021-01-01 09:37:47 -05:00
Rapptz 94f76e6394 Fix webhook state coercion leading to unexpected behaviour.
Fix #6220
2020-12-29 08:26:39 -05:00
Rapptz ef67b56fc6 Change highlight text colour on dark theme
Fix #6215
2020-12-26 20:49:26 -05:00
Rapptz b778171188 Fix 404 in search pages.
Fix #6210
2020-12-25 14:21:58 -05:00
Rapptz eb11079569 Document more guild features 2020-12-22 07:18:40 -05:00
Rapptz 66ede7c5a0 Fix search highlighting not working 2020-12-21 03:18:47 -05:00
Rapptz ede7b4762a Fix constructor colours being off in dark mode 2020-12-19 06:11:49 -05:00
Rapptz 674f414ae0 Add attributetable to WebhookMessage 2020-12-19 06:00:21 -05:00
Rapptz a534aeac5d [matrix] Flip collapsible arrow direction 2020-12-19 05:52:43 -05:00
Rapptz 9013e1d1a2 [tasks] Add missing attributetable to tasks 2020-12-19 00:51:59 -05:00
Rapptz 2a6ea3532b Rework index page to take less vertical space 2020-12-19 00:48:35 -05:00
Rapptz 17b49c5a46 [commands] Make documentation use new attributetable 2020-12-18 21:35:27 -05:00
Rapptz 4ef6d7ec1e Add missing attributetable to new classes 2020-12-18 21:35:27 -05:00
Rapptz 13dacb3994 Thicken admonition borders a little 2020-12-18 21:18:58 -05:00
Rapptz eba0aaa351 Fix collapsible sidebar not working 2020-12-18 21:18:57 -05:00
Rapptz 7cc95d9dac Use the constructed value in the settings 2020-12-18 21:18:57 -05:00
Rapptz 94cc151ebf Fix tooltips in settings and make strings translatable 2020-12-18 21:18:57 -05:00
Rapptz 1619043c4e Move setting load to DOMContentLoaded 2020-12-18 21:18:57 -05:00
Rapptz 18cfc4a4a5 Reduce CSS variable usage 2020-12-18 21:18:56 -05:00
Rapptz 21ac462c85 Fix versionmodified not being italics 2020-12-18 21:18:56 -05:00
Rapptz 155a10bf88 Change colour scheme and admonition colours
This should make both themes finally look decent
2020-12-18 21:18:56 -05:00
Rapptz c97335873b Redesign admonitions to look a little better.
Colours still need to be reworked though.
2020-12-18 21:18:55 -05:00
Rapptz 407d7bee1a Switch icon set over to Material Icons intead of FontAwesome 2020-12-18 21:18:54 -05:00
Rapptz 875a701edb Rework attributetable to look prettier 2020-12-18 21:18:54 -05:00
Rapptz b28c76cda1 Refactor CSS to use a colour palette and make light theme greyer. 2020-12-18 21:18:54 -05:00
Rapptz 022a341476 Make tables scroll if they overflow. 2020-12-18 21:18:54 -05:00
Rapptz 92fffb5daa Revert "Fix table wrapping"
This reverts commit c911cd0dbd.
2020-12-18 21:18:54 -05:00
Rapptz df57392aea Fix table wrapping 2020-12-18 21:18:54 -05:00
Rapptz 219dae5a56 Fix margins in 600px view of settings and label 2020-12-18 21:18:53 -05:00
Rapptz 2dc8591258 Show classmethods separately in attribute table 2020-12-18 21:18:53 -05:00
Rapptz 6351ef344b Alphabetically sort attributetable output 2020-12-18 21:18:53 -05:00
Rapptz e9fb6b7d67 Show the search bar on mobile 2020-12-18 21:18:53 -05:00
Rapptz 1253a372d9 Various RTD related fixes. 2020-12-18 21:18:53 -05:00
Rapptz 33a4388e6e First pass at double header display 2020-12-18 21:18:52 -05:00
Rapptz c31b443f91 Use new HTML5 <section> instead of <div class="section"> 2020-12-18 21:18:52 -05:00
Rapptz e648cfbcad First pass at centering content for large displays 2020-12-18 21:18:52 -05:00
Rapptz 0e75a21a67 Add dark theme for codeblocks 2020-12-18 21:18:52 -05:00
Rapptz d05fd3552f Actually make overflowing have a scrollbar on mobile 2020-12-18 21:18:52 -05:00
Rapptz d69d509453 Fix codeblock related things with mobile responsiveness. 2020-12-18 21:18:51 -05:00
Rapptz 51d76e819b Proper padding for the copy button 2020-12-18 21:18:51 -05:00
Rapptz 385657179d Reverse the related links 2020-12-18 21:18:51 -05:00
Rapptz 25e3a31827 Use html_js_files instead of the old approach to add JS files. 2020-12-18 21:18:51 -05:00
Rapptz 2e3b8dc3d1 Cleanup copy button CSS and add a hover-over explanation. 2020-12-18 21:18:51 -05:00
Rapptz 7607d3628d Rewrite the DOM to use CSS grids
This also rewrites the CSS to use CSS variables. Currently this isn't
done to codeblocks however.
2020-12-18 21:18:51 -05:00
Rapptz 4dcf4bc6f4 Use actual viewport tag with initial-scale set to 1 2020-12-18 21:18:50 -05:00
Rapptz fd14cf7b81 Bump Sphinx to 3.0.3 2020-12-18 21:18:50 -05:00
Rapptz 5bd05b194d Move table JS outside of scrolling 2020-12-18 21:18:50 -05:00
Rapptz 5fbb340339 Bump Sphinx to 2.4.4 2020-12-18 21:18:50 -05:00
Rapptz 9b88c63163 Add attributetable and add some class-level sections.
The extensions have yet to receive this treatment and CSS needs work,
but for now this is fine.
2020-12-18 21:18:47 -05:00
Rapptz 93f102ca90 Add support for Member.pending boolean attribute 2020-12-18 21:02:22 -05:00
Rapptz f9dd200314 [commands] max_concurrency comes before cooldowns
Fix #6172
2020-12-17 22:21:45 -05:00
Rapptz 3fea697ba5 Add versionadded string for Emoji.url_as 2020-12-17 22:21:45 -05:00
Rapptz 6515f33978 [tasks] Fix a typo in documentation 2020-12-14 22:18:40 -05:00
Rapptz 0216db0c0a [tasks] Add support for manually calling the wrapped coroutine 2020-12-14 22:11:37 -05:00
Rapptz 52d587d286 Allow PartialMessage to work with DM channels as well 2020-12-11 02:32:51 -05:00
Rapptz 186f4968d3 Export to_message_reference_dict to make PartialMessage.reply work 2020-12-11 00:39:05 -05:00
Rapptz ebf623d9de Add operations you can do to a Message and PartialMessage to docs 2020-12-11 00:32:38 -05:00
Rapptz 3fe6d261f1 Add PartialMessage to allow working with channel/message_id pairs.
Fix #5905
2020-12-11 00:32:38 -05:00
Rapptz 44dc7a8e02 Add support for editing and deleting webhook messages.
Fix #6058
2020-12-09 20:15:35 -05:00
Rapptz b00aaab0b2 Revert Message.edit logic that deals with allowed_mentions
It made no sense here.
2020-12-08 21:13:29 -05:00
Rapptz 6ea7fce828 [commands] Cog unload failures are swallowed.
Fix #6113
2020-12-03 19:17:28 -05:00
Rapptz a4cb71b64e Fix Message.to_reference from the MessageReference changes 2020-11-27 03:31:10 -05:00
Rapptz 5ef30e34e5 Correct docstring missing ] 2020-11-27 02:36:14 -05:00