Slack bot which connects with Mopidy and Spotify.
npm install dopebot
bin/dopebot --token="[YOUR_SLACK_TOKEN]" --mopidy="ws://192.168.36.140:6680/mopidy/ws"
Please see dopebot --help:
Usage: dopebot [options]
Options:
-h, --help output usage information
-V, --version output the version number
-t, --token [token] Set [token] for the Slack API
-m, --mopidy [url] Set [url] for the Mopidy API
-d, --dialog Only respond to <@dopebot>
-h, --history Keep user commands in memory
-u, --unfurl Unfold Spotify URIs in Slack
-e, --emoji [emoji] Dopebot emoji icon in Slack
-l, --limit [limit] Set [limit] for Spotify API result lists
-v, --verbose Increase verbosity
For general Slack integration information please refer to the official Slack documentation.
In the channel where you have added dopebot try: @dopebot help to list all commands.
Welcome! Glad, to hear. It's easy. Just follow theses steps:
- Fork the project & branch
- Code and document your stuff
- Create a Pull Request with description
(MIT License)
Copyright (c) 2016 Sebastian Krüger [sk@theblackestbox.net]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.