Skip to content

Commit

Permalink
Removing Local Experiment
Browse files Browse the repository at this point in the history
Testing the possibility of having the bot reply to user's request for a leaderboard/fullboard.
Bots do not appear to be capable of posting code snippets. So this is an alternative way of 'collapsing' the leaderboard
  • Loading branch information
JacobJerrell committed Nov 16, 2017
1 parent 8f529b6 commit b701eb6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions hey_fireball.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,11 +372,6 @@ def handle_command(fireball_message):
slack_client.api_call("chat.postEphemeral", channel=fireball_message.channel,
text=msg, user=fireball_message.target_id_only,
attachments=attach)
# elif (fireball_message.command == 'fullboard' or
# fireball_message.command == 'leaderboard'):
# slack_client.api_call("chat.postMessage", channel=send_message_to,
# text=msg, as_user=True, attachments=attach,
# thread_ts=fireball_message.ts)
else:
slack_client.api_call("chat.postMessage", channel=send_message_to,
text=msg, as_user=True, attachments=attach)
Expand Down

0 comments on commit b701eb6

Please sign in to comment.