File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 35
35
36
36
from .commands import ApplicationCommand , Option
37
37
from ..cog import Cog
38
- from ..webhook import Webhook
38
+ from ..webhook import WebhookMessage
39
39
from typing import Callable
40
40
41
41
from ..guild import Guild
@@ -133,7 +133,7 @@ def response(self) -> InteractionResponse:
133
133
return self .interaction .response
134
134
135
135
@property
136
- def respond (self ) -> Callable [..., Union [Interaction , Webhook ]]:
136
+ def respond (self ) -> Callable [..., Union [Interaction , WebhookMessage ]]:
137
137
"""Callable[..., Union[:class:`~.Interaction`, :class:`~.Webhook`]]: Sends either a response
138
138
or a followup response depending if the interaction has been responded to yet or not."""
139
139
if not self .response .is_done ():
You can’t perform that action at this time.
0 commit comments