Consistent use of __all__ to prevent merge conflicts.

This commit is contained in:
Rapptz
2019-04-20 17:20:58 -04:00
parent c6410ea9ab
commit 919dbcafb3
12 changed files with 130 additions and 36 deletions

View File

@ -38,10 +38,25 @@ from . import converter as converters
from ._types import _BaseCommand
from .cog import Cog
__all__ = ['Command', 'Group', 'GroupMixin', 'command', 'group',
'has_role', 'has_permissions', 'has_any_role', 'check',
'bot_has_role', 'bot_has_permissions', 'bot_has_any_role',
'cooldown', 'dm_only', 'guild_only', 'is_owner', 'is_nsfw']
__all__ = (
'Command',
'Group',
'GroupMixin',
'command',
'group',
'has_role',
'has_permissions',
'has_any_role',
'check',
'bot_has_role',
'bot_has_permissions',
'bot_has_any_role',
'cooldown',
'dm_only',
'guild_only',
'is_owner',
'is_nsfw',
)
def wrap_callback(coro):
@functools.wraps(coro)