Respond to /addquote with a message containing the quote

This commit is contained in:
Rien Maertens 2019-02-13 23:50:48 +01:00
parent f8436cadd9
commit fbfdcfcfaf
No known key found for this signature in database
GPG Key ID: 10C6D8C91DE58E4A
1 changed files with 1 additions and 1 deletions

View File

@ -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():