Skip to content
This repository was archived by the owner on Jun 26, 2025. It is now read-only.

Commit 8c53582

Browse files
committed
Merge branch 'release/0.3.3'
# Conflicts: # setup.py
2 parents 05b2c7c + bbc5a11 commit 8c53582

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

flask_assistant/response.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ def __init__(self, speech):
2828
if "ACTIONS_ON_GOOGLE" in self._integrations:
2929
self._integrate_with_actions(speech)
3030

31+
def add_msg(self, speech):
32+
self._messages.append({"text": {"text": [speech]}})
33+
if "ACTIONS_ON_GOOGLE" in self._integrations:
34+
self._integrate_with_actions(speech)
35+
36+
return self
37+
3138
def _integrate_with_actions(self, speech=None):
3239
self._messages.append(
3340
{

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
setup(
1313
name="Flask-Assistant",
14-
version="0.3.2",
14+
version="0.3.3",
1515
url="https://github.com/treethought/flask-assistant",
1616
license="Apache 2.0",
1717
author="Cam Sweeney",

0 commit comments

Comments
 (0)