We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79e9b97 commit 2e910aeCopy full SHA for 2e910ae
interactions/client/client.py
@@ -1151,7 +1151,9 @@ def _check(event: events.Component) -> bool:
1151
1152
def command(self, *args, **kwargs) -> Callable:
1153
"""A decorator that registers a command. Aliases `interactions.slash_command`"""
1154
- raise NotImplementedError # TODO: implement
+ raise NotImplementedError(
1155
+ "Use interactions.slash_command instead. Please consult the v4 -> v5 migration guide https://interactions-py.github.io/interactions.py/Guides/98%20Migration%20from%204.X/"
1156
+ )
1157
1158
def listen(self, event_name: Absent[str] = MISSING) -> Callable[[AsyncCallable], Listener]:
1159
"""
0 commit comments