Add __all__ to remaining modules

This commit is contained in:
Nadir Chowdhury
2021-04-07 07:30:32 +01:00
committed by GitHub
parent ed1341012b
commit 89456022cf
36 changed files with 210 additions and 26 deletions

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.