📅  最后修改于: 2022-03-11 14:56:29.728000             🧑  作者: Mango
import os
import slack_notifications as slack
slack.ACCESS_TOKEN = 'xxx'
slack.send_notify('channel-name', username='Bot', text='@channel This is test message')