Kowlin
5cfb8edab8
ANSI formatting support ( #5538 )
...
Co-authored-by: Kowlin <Kowlin@users.noreply.github.com>
Co-authored-by: Vexed <vex@vexcodes.com>
Co-authored-by: Jack Tealey <67752638+Kreusada@users.noreply.github.com>
2024-12-24 01:20:42 +00:00
TrustyJAID
f4ffc6bc80
Add support for SimpleMenu to use custom select options ( #6480 )
...
Co-authored-by: Jakub Kuczys <me@jacken.men>
2024-12-24 02:00:41 +01:00
Kyla
2871992772
Define view once inside menus.menu for button menus ( #6472 )
2024-11-17 16:24:30 +00:00
Kreusada
f3c89ad8bd
Fix header utility docstring ( #6444 )
2024-09-02 00:51:14 +02:00
Kreusada
05cf9b7f39
Add header, hyperlink and subtext utilities ( #6102 )
...
Co-authored-by: Kowlin <10947836+Kowlin@users.noreply.github.com>
2024-09-01 21:40:12 +00:00
github-actions[bot]
701339f8a1
Automated Crowdin downstream ( #6420 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-04 23:51:49 +02:00
Ryan
601816abc0
Allow SimpleMenu to delete ephemeral responses ( #6304 )
2024-07-18 23:35:52 +02:00
github-actions[bot]
23c86d7850
Automated Crowdin downstream ( #6362 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-21 04:04:35 +02:00
Jakub Kuczys
72ec88aa3c
Fix humanize_timedelta() docstring to account for negative values ( #6360 )
2024-04-20 21:55:33 -04:00
Zephyrkul
afb4f6079a
humanize_timedelta improvements (#6350 )
...
Co-authored-by: TrustyJAID <TrustyJAID@gmail.com>
Co-authored-by: zephyrkul <zephyrkul@users.noreply.github.com>
2024-04-14 12:56:42 -06:00
Jakub Kuczys
a26b9d6d3a
Fix behavior of the menu() function calls without user param ( #6324 )
2024-03-23 16:16:44 -07:00
github-actions[bot]
de1141af98
Automated Crowdin downstream ( #6318 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-22 01:56:41 +01:00
Auguste Charpentier
8c2976504a
Add user param to menu() ( #4913 )
...
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
Co-authored-by: Jakub Kuczys <me@jacken.men>
2024-03-18 01:35:53 +01:00
Jakub Kuczys
293d8065ec
Remove traceback suppression from buttonized menu() ( #6310 )
2024-03-17 18:53:06 -04:00
yeetbruises
409ece427f
Add a start_dm option to SimpleMenu ( #6286 )
...
Co-authored-by: Jakub Kuczys <me@jacken.men>
2024-01-14 22:17:19 -05:00
aikaterna
531b4fe357
Humanize number fix ( #6283 )
...
Co-authored-by: Jakub Kuczys <me@jacken.men>
2024-01-03 19:13:26 -05:00
github-actions[bot]
97377a9f8d
Automated Crowdin downstream ( #6251 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-14 20:02:01 +00:00
github-actions[bot]
0747b92653
Automated Crowdin downstream ( #6234 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-12 14:25:40 +00:00
Jakub Kuczys
100de11ce6
Fix http errors for interaction deferring and message changes ( #6229 )
2023-08-11 02:51:36 +02:00
Jakub Kuczys
dbb91dfce8
Fix poor fuzzy results due to changes in rapidfuzz 3.0 ( #6224 )
...
Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
2023-08-09 22:03:21 -07:00
github-actions[bot]
d04cc36bc6
Automated Crowdin downstream ( #6212 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-24 20:15:23 +02:00
TrustyJAID
7dff136937
Add ConfirmView utility ( #6176 )
...
Co-authored-by: Jakub Kuczys <me@jacken.men>
2023-06-21 10:47:47 -06:00
Om
41204ccf77
Pass timeout to SimpleMenu ( #6173 )
2023-06-20 23:18:58 +02:00
Jakub Kuczys
3b92c225ac
Add a usage example to get_end_user_data_statement_or_raise() ( #6171 )
2023-06-19 14:00:55 +02:00
Jakub Kuczys
10e09d6abc
d.py 2.3 / pomelo changes ( #6130 )
...
Co-authored-by: Michael Oliveira <34169552+Flame442@users.noreply.github.com>
2023-06-14 04:56:50 +02:00
TrustyJAID
ecb60c0856
Fix menus passing PartialEmoji instead of str ( #6143 )
2023-05-13 18:14:42 +02:00
Jakub Kuczys
2369017f6a
Add data_manager.instance_name() public API ( #6146 )
2023-05-12 11:53:53 +01:00
github-actions[bot]
7b80043d19
Automated Crowdin downstream ( #6119 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-04 03:04:41 +02:00
Jakub Kuczys
2fe251ecf3
Port TiV changes applied to voice channels to stage channels ( #6109 )
2023-05-02 19:05:44 -04:00
Jakub Kuczys
226d8d734d
Reformat with Black 2023 formatting changes
2023-05-02 00:51:29 +02:00
Jakub Kuczys
f051eae92d
Privatize APIs by renaming or removing them from __all__ ( #6021 )
2023-04-17 17:44:33 -04:00
Jakub Kuczys
145b2e43ce
Allow any Messageable in MessagePredicate's channel parameter ( #5942 )
...
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
2023-04-13 15:21:36 -04:00
Jakub Kuczys
533f036ed2
Improve performance of pagify() ( #5698 )
...
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2023-04-13 14:52:54 -04:00
Lioness100
a89a27cadf
docs: fix typos ( #5989 )
...
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
2023-02-13 21:36:09 -05:00
Jakub Kuczys
519acedf46
Make some dependency changes, support Python 3.10 and 3.11 ( #5611 )
...
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
2022-12-30 03:21:57 +01:00
Kreusada
1c7178a10b
Add automodule reference for the antispam module ( #5641 )
...
Co-authored-by: Jakub Kuczys <me@jacken.men>
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
2022-12-22 17:49:44 -05:00
Jakub Kuczys
f7c14b4321
Modernize packaging-related things in Red ( #5924 )
2022-12-09 18:50:37 +01:00
Kowlin
86aed37769
Fix HTTPException in set api's send_modal ( #5860 )
...
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
2022-11-11 19:59:51 -05:00
Jakub Kuczys
51fa3f502e
Remove bordered() utility function ( #5692 )
2022-11-11 15:37:49 +01:00
Leet
fcbe37b956
[Docs] Use gender neutral language in remaining places where it isn't ( #5873 )
2022-10-13 13:34:14 +02:00
Leet
64e6044aba
[Cleanup] Pass reason for bulk message deletion to audit log ( #5863 )
...
Co-authored-by: Jakub Kuczys <me@jacken.men>
2022-10-12 23:02:37 +02:00
TrustyJAID
b0a3f00f41
Add global buttons to base menus ( #5683 )
...
Co-authored-by: Kowlin <10947836+Kowlin@users.noreply.github.com>
2022-10-12 22:13:33 +02:00
TrustyJAID
aaeb1b5daa
Add buttons to help ( #5634 )
...
Co-authored-by: Zephyrkul <23347632+Zephyrkul@users.noreply.github.com>
Co-authored-by: Kowlin <10947836+Kowlin@users.noreply.github.com>
Co-authored-by: Jakub Kuczys <me@jacken.men>
2022-10-12 16:29:10 +02:00
Jakub Kuczys
f02528378f
discord.py 2.0 update (3d914e08->2.0.1) ( #5709 )
2022-10-03 16:07:15 +02:00
Jakub Kuczys
9d820234bb
Fix Tunnel.message_forwarder's handling of >2000 strings ( #5844 )
2022-09-12 19:34:34 -04:00
Kowlin
acdc1df084
Add support for set api Modals ( #5637 )
...
* Add support for set api Modals
Co-authored-by: TrustyJAID <TrustyJAID@gmail.com>
* Blaacckkkk!
* Swap locations of interaction and button.
* Clarified template tokens
* Update docs and some string
* More docs
* Rework the client
Co-authored-by: TrustyJAID <TrustyJAID@gmail.com>
* Goddamned black!
* Missed a few arguments
* Black... Again
* Update redbot/core/utils/views.py
Co-authored-by: TrustyJAID <TrustyJAID@gmail.com>
* Update redbot/core/core_commands.py
Co-authored-by: TrustyJAID <TrustyJAID@gmail.com>
Co-authored-by: TrustyJAID <TrustyJAID@gmail.com>
2022-05-20 13:58:18 -06:00
Kowlin
60b495091a
Prevent an IndexError from occuring ( #5430 )
...
* Prevent an IndexError from occuring
If an page value is negative it doesn't properly loop around to the end.
* Update menus.py
* I'm smart 👍
2022-04-16 17:05:57 -04:00
Jakub Kuczys
27bed5010f
Make controls in menu() optional ( #5678 )
...
* Make `controls` in `menu()` optional
You might wonder, shouldn't we pass `None` to functions from controls?
No, we shouldn't because when `None` is passed, only DEFAULT_CONTROLS
can be used and that means that the length of pages list won't change.
* Update usage in core and core cogs
* Add missing docstrings to `redbot.core.utils.menus` module
2022-04-16 13:29:12 -06:00
jack1142
96e8d8cdf5
Make DEFAULT_CONTROLS and ReactionPredicate.*_EMOJIS immutable ( #5666 )
...
* Make ReactionPredicate.*_EMOJIS immutable
* Make menus.DEFAULT_CONTROLS immutable
* Actually convert NUMBER_EMOJIS to tuple
2022-04-09 21:35:11 +02:00
Kreusada
0b8dec77c3
Remove caching and safety utilities ( #5653 )
...
* Remove caching
* Remove safety
* Remove unused private usage
2022-04-03 04:31:53 +02:00