mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 10:17:59 -05:00
Add util functions extracting end_user_data_statement directly from cog's info.json (#4404)
* get_end_user_statement * add get_end_user_statement * I hate docs * lets make Jack and Zeph happy as they want a version that raises. * Apply suggestions from code review Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> * Update redbot/core/utils/__init__.py Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> * rename to `get_end_user_data_statement` * aaaaaaaaaaaaaaa Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
@@ -8,7 +8,7 @@ General Utility
|
||||
===============
|
||||
|
||||
.. automodule:: redbot.core.utils
|
||||
:members: deduplicate_iterables, bounded_gather, bounded_gather_iter
|
||||
:members: deduplicate_iterables, bounded_gather, bounded_gather_iter, get_end_user_data_statement, get_end_user_data_statement_or_raise
|
||||
|
||||
.. autoclass:: AsyncIter
|
||||
:members:
|
||||
|
||||
Reference in New Issue
Block a user