aboutsummaryrefslogtreecommitdiff
path: root/discord/ext/commands/bot.py
diff options
context:
space:
mode:
authorNadir Chowdhury <[email protected]>2021-04-07 07:30:32 +0100
committerGitHub <[email protected]>2021-04-07 02:30:32 -0400
commit89456022cf952a0d094d3ed438e279db02535632 (patch)
tree216671c8bfeb6c861236dc42ba82a7b08cf52f69 /discord/ext/commands/bot.py
parentAdd Embed.__bool__ (diff)
downloaddiscord.py-89456022cf952a0d094d3ed438e279db02535632.tar.xz
discord.py-89456022cf952a0d094d3ed438e279db02535632.zip
Add `__all__` to remaining modules
Diffstat (limited to 'discord/ext/commands/bot.py')
-rw-r--r--discord/ext/commands/bot.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py
index 503aa266..e421f8d9 100644
--- a/discord/ext/commands/bot.py
+++ b/discord/ext/commands/bot.py
@@ -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.