- create a bot for your organisation using the Slack web interface
- create a channel for your bot to listen to and invite your bot there
- copy
config.py.exampletoconfig.py - fill in your bot's API key and channel name in
config.py - install a command line mp3 file player, e.g.
mplayer. On MacOS you can useafplay pip install slacksocketpython soundbot.py- put some mp3 files in this directory
- enter a filename (leave off .mp3) in your Slack channel
- or say "list" to list the available mp3s
- enjoy!
sanderevers/slack-soundbot
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|