Compare commits
No commits in common. "bc22c73cb2174687ed3a51df4ae0dda1d91d71be" and "d529cc8f71d9c702c0e8e1f4402af273ca500cb1" have entirely different histories.
bc22c73cb2
...
d529cc8f71
@ -3,4 +3,3 @@ deployment:
|
||||
tasks:
|
||||
- export DEPLOYPATH=/home/benjamyntesting/chatbot/
|
||||
- cp -Rfv * $DEPLOYPATH
|
||||
- touch $DEPLOYPATH/tmp/restart.txt
|
||||
@ -104,11 +104,7 @@ def format_response(event):
|
||||
text = 'Thanks for adding me to a DM, {}!'.format(sender_name)
|
||||
|
||||
elif event_type == 'MESSAGE':
|
||||
slash_command = event['message'].get('slashCommand')
|
||||
if slash_command:
|
||||
text = f"You used a slash command with ID {slash_command['commandId']}"
|
||||
else:
|
||||
text = 'Your message, {}: "{}"'.format(sender_name, event['message']['text'])
|
||||
text = 'Your message, {}: "{}"'.format(sender_name, event['message']['text'])
|
||||
|
||||
response = {'text': text}
|
||||
|
||||
|
||||
@ -2,9 +2,9 @@
|
||||
|
||||
{% block content %}
|
||||
<h1 class="title">
|
||||
Welcome to the future.
|
||||
Flask Login Example
|
||||
</h1>
|
||||
<h2 class="subtitle">
|
||||
PriceyBot2.0 ready and listening.
|
||||
Easy authentication and authorization in Flask.
|
||||
</h2>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user