Skip to content

Commit

Permalink
Remove hard-coded username and icon_emoji since you can configure it at
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsreichardt committed Oct 10, 2024
1 parent 914b0cc commit ce84d1b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions slack_autoarchive.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,6 @@ def send_channel_message(self, channel_id, message):
""" Send a message to a channel or user. """
payload = {
'channel': channel_id,
'username': 'channel_reaper',
'icon_emoji': ':ghost:',
'text': message
}
api_endpoint = 'chat.postMessage'
Expand Down

0 comments on commit ce84d1b

Please sign in to comment.