mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
* 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>
82 lines
1.4 KiB
ReStructuredText
82 lines
1.4 KiB
ReStructuredText
.. red's core utils documentation
|
|
|
|
=================
|
|
Utility Functions
|
|
=================
|
|
|
|
General Utility
|
|
===============
|
|
|
|
.. automodule:: redbot.core.utils
|
|
:members: deduplicate_iterables, bounded_gather, bounded_gather_iter, get_end_user_data_statement, get_end_user_data_statement_or_raise, can_user_send_messages_in, can_user_manage_channel, can_user_react_in
|
|
|
|
.. autoclass:: AsyncIter
|
|
:members:
|
|
:special-members: __await__
|
|
:exclude-members: enumerate, filter
|
|
|
|
.. automethod:: enumerate
|
|
:async-for:
|
|
|
|
.. automethod:: filter
|
|
:async-for:
|
|
|
|
|
|
Chat Formatting
|
|
===============
|
|
|
|
.. automodule:: redbot.core.utils.chat_formatting
|
|
:members:
|
|
|
|
Embed Helpers
|
|
=============
|
|
|
|
.. automodule:: redbot.core.utils.embed
|
|
:members:
|
|
:exclude-members: randomize_color
|
|
|
|
Reaction Menus
|
|
==============
|
|
|
|
.. automodule:: redbot.core.utils.menus
|
|
:members:
|
|
|
|
Event Predicates
|
|
================
|
|
|
|
MessagePredicate
|
|
****************
|
|
|
|
.. autoclass:: redbot.core.utils.predicates.MessagePredicate
|
|
:members:
|
|
|
|
ReactionPredicate
|
|
*****************
|
|
|
|
.. autoclass:: redbot.core.utils.predicates.ReactionPredicate
|
|
:members:
|
|
|
|
Mod Helpers
|
|
===========
|
|
|
|
.. automodule:: redbot.core.utils.mod
|
|
:members:
|
|
|
|
Tunnel
|
|
======
|
|
|
|
.. automodule:: redbot.core.utils.tunnel
|
|
:members: Tunnel
|
|
|
|
Common Filters
|
|
==============
|
|
|
|
.. automodule:: redbot.core.utils.common_filters
|
|
:members:
|
|
|
|
Utility UI
|
|
==========
|
|
|
|
.. automodule:: redbot.core.utils.views
|
|
:members:
|