|
@@ -82,7 +82,7 @@ def _make_response(message: Message, result: Any) -> Response:
|
|
|
if isinstance(result, str):
|
|
|
return Response.from_message(message, text=result)
|
|
|
if isinstance(result, Attachment):
|
|
|
- return Response.from_message(message, attachments=[Attachment])
|
|
|
+ return Response.from_message(message, attachments=[result])
|
|
|
return Response.from_message(message, text=str(result))
|
|
|
|
|
|
|