Commit fbfdcfcf authored by Rien's avatar Rien

Respond to /addquote with a message containing the quote

parent f8436cad
......@@ -146,7 +146,7 @@ def add_quote():
quote = models.Quote(user, quote_text, channel)
db.session.add(quote)
db.session.commit()
return mattermost_response("Your quote has been added.")
return mattermost_response("{} added the quote {}".format(user, quote_text))
@app.route('/', methods=['GET'])
def list_quotes():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment