Skip to content

fix: make sure exported auto_defer is deco, not module #1496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion interactions/models/internal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
)
from .callback import CallbackObject
from .active_voice_state import ActiveVoiceState
from .auto_defer import AutoDefer # purposely out of order to make sure auto_defer comes out as the deco
from .application_commands import (
application_commands_to_dict,
auto_defer,
Expand Down Expand Up @@ -41,7 +42,6 @@
subcommand,
sync_needed,
)
from .auto_defer import AutoDefer
from .checks import dm_only, guild_only, has_any_role, has_id, has_role, is_owner
from .command import BaseCommand, check, cooldown, max_concurrency
from .context import (
Expand Down