import os import slack_notifications as slack slack.ACCESS_TOKEN = 'xxx' slack.send_notify('channel-name', username='Bot', text='@channel This is test message')