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