Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test/branch with two conflicts #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@app.route('/')
def index():
return {'message': 'Hello, folks!'}, 200
return {'message': 'Hello, Devs!'}, 200


@app.route('/slack/events', methods=['POST'])
Expand All @@ -27,7 +27,7 @@ def slack_events():
if event['type'] == 'message':
response_text = "메시지 이벤트를 처리했습니다."
else:
response_text = "지원하지 않는 이벤트 타입입니다."
response_text = "지원하지 않는 이벤트입니다."

response = {
'text': response_text
Expand All @@ -44,8 +44,8 @@ def slack_command():

command = data.get('command')

if command == '/your_command':
response_text = "슬래시 커맨드 '/your_command'가 실행되었습니다."
if command == '/my_command':
response_text = "슬래시 커맨드 '/my_command'가 실행되었습니다."
else:
response_text = "지원하지 않는 슬래시 커맨드입니다."

Expand Down