Add __all__ to remaining modules

This commit is contained in:
Nadir Chowdhury authored and GitHub committed 2021-04-07 02:30:32 -04:00
1 parent ed1341012b
commit 89456022cf
36 files changed
+210 -26

No files matched your search

+7
View File
@@ -39,6 +39,13 @@ from . import errors
from .help import HelpCommand, DefaultHelpCommand
from .cog import Cog
__all__ = (
'when_mentioned',
'when_mentioned_or',
'Bot',
'AutoShardedBot',
)
def when_mentioned(bot, msg):
"""A callable that implements a command prefix equivalent to being mentioned.