@@ -259,17 +259,17 @@ def unselected_options(self) -> list[Option] | None:
259
259
return None
260
260
261
261
@property
262
- @copy_doc . copy_doc (InteractionResponse .send_modal )
262
+ @copy_doc (InteractionResponse .send_modal )
263
263
def send_modal (self ) -> Callable [..., Awaitable [Interaction ]]:
264
264
return self .interaction .response .send_modal
265
265
266
266
@property
267
- @copy_doc . copy_doc (Interaction .respond )
267
+ @copy_doc (Interaction .respond )
268
268
def respond (self , * args , ** kwargs ) -> Callable [..., Awaitable [Interaction | WebhookMessage ]]:
269
269
return self .interaction .respond
270
270
271
271
@property
272
- @copy_doc . copy_doc (InteractionResponse .send_message )
272
+ @copy_doc (InteractionResponse .send_message )
273
273
def send_response (self ) -> Callable [..., Awaitable [Interaction ]]:
274
274
if not self .interaction .response .is_done ():
275
275
return self .interaction .response .send_message
@@ -279,7 +279,7 @@ def send_response(self) -> Callable[..., Awaitable[Interaction]]:
279
279
)
280
280
281
281
@property
282
- @copy_doc . copy_doc (Webhook .send )
282
+ @copy_doc (Webhook .send )
283
283
def send_followup (self ) -> Callable [..., Awaitable [WebhookMessage ]]:
284
284
if self .interaction .response .is_done ():
285
285
return self .followup .send
@@ -289,7 +289,7 @@ def send_followup(self) -> Callable[..., Awaitable[WebhookMessage]]:
289
289
)
290
290
291
291
@property
292
- @copy_doc . copy_doc (InteractionResponse .defer )
292
+ @copy_doc (InteractionResponse .defer )
293
293
def defer (self ) -> Callable [..., Awaitable [None ]]:
294
294
return self .interaction .response .defer
295
295
@@ -323,7 +323,7 @@ async def delete(self, *, delay: float | None = None) -> None:
323
323
return await self .interaction .delete_original_response (delay = delay )
324
324
325
325
@property
326
- @copy_doc . copy_doc (Interaction .edit_original_response )
326
+ @copy_doc (Interaction .edit_original_response )
327
327
def edit (self ) -> Callable [..., Awaitable [InteractionMessage ]]:
328
328
return self .interaction .edit_original_response
329
329
0 commit comments