Consistent use of __all__ to prevent merge conflicts.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user