mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
* Handle missing cogs correctly, add some helpful algorithms For cog loading, only show "cog not found" if the module in question was the one that failed to import. ImportErrors within cogs will show an error as they should. - deduplicator, benchmarked to be the fastest - bounded gather and bounded async as_completed - tests for all additions * Requested changes + wrap as_completed instead So I went source diving and realized as_completed works the way I want it to, and I don't need to reinvent the wheel for cancelling tasks that remain if the generator is `break`ed out of. So there's that.
47 lines
766 B
ReStructuredText
47 lines
766 B
ReStructuredText
.. red's core utils documentation
|
|
|
|
=================
|
|
Utility Functions
|
|
=================
|
|
|
|
General Utility
|
|
===============
|
|
|
|
.. automodule:: redbot.core.utils
|
|
:members: deduplicate_iterables, bounded_gather, bounded_gather_iter
|
|
|
|
Chat Formatting
|
|
===============
|
|
|
|
.. automodule:: redbot.core.utils.chat_formatting
|
|
:members:
|
|
|
|
Embed Helpers
|
|
=============
|
|
|
|
.. automodule:: redbot.core.utils.embed
|
|
:members:
|
|
|
|
Menu Helpers
|
|
============
|
|
|
|
.. automodule:: redbot.core.utils.menus
|
|
:members:
|
|
|
|
Mod Helpers
|
|
===========
|
|
|
|
.. automodule:: redbot.core.utils.mod
|
|
:members:
|
|
|
|
V2 Data Conversion
|
|
==================
|
|
|
|
.. automodule:: redbot.core.utils.data_converter
|
|
:members: DataConverter
|
|
|
|
Tunnel
|
|
======
|
|
|
|
.. automodule:: redbot.core.utils.tunnel
|
|
:members: Tunnel |