Skip to content

Commit b33ab89

Browse files
authored
fix: make sure exported auto_defer is deco, not module (#1496)
1 parent 1ec7128 commit b33ab89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/models/internal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
)
1212
from .callback import CallbackObject
1313
from .active_voice_state import ActiveVoiceState
14+
from .auto_defer import AutoDefer # purposely out of order to make sure auto_defer comes out as the deco
1415
from .application_commands import (
1516
application_commands_to_dict,
1617
auto_defer,
@@ -41,7 +42,6 @@
4142
subcommand,
4243
sync_needed,
4344
)
44-
from .auto_defer import AutoDefer
4545
from .checks import dm_only, guild_only, has_any_role, has_id, has_role, is_owner
4646
from .command import BaseCommand, check, cooldown, max_concurrency
4747
from .context import (

0 commit comments

Comments
 (0)