mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 09:52:30 -05:00
Privatize APIs by renaming or removing them from __all__ (#6021)
This commit is contained in:
@@ -8,10 +8,11 @@ from redbot.core.i18n import Translator
|
||||
from redbot.vendored.discord.ext import menus
|
||||
from redbot.core.commands.converter import get_dict_converter
|
||||
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from redbot.core.commands import Context
|
||||
|
||||
__all__ = ("SimpleMenu", "SetApiModal", "SetApiView")
|
||||
|
||||
_ = Translator("UtilsViews", __file__)
|
||||
|
||||
_ACCEPTABLE_PAGE_TYPES = Union[Dict[str, Union[str, discord.Embed]], discord.Embed, str]
|
||||
|
||||
Reference in New Issue
Block a user