Due to the recent closure of SongWhip and the lack of time to expand this bot I've decided to close down the repo and stop hosting the bot. Alternatives for an API were hard to find, if they exist at all!? And it's only costing me money and time at the moment.
I'd like to thank all the users and Discord server owners for using my bot.
A discord bot that converts your song links to a universal format. No longer limited to sharing music with friends that use the same streaming service!
Deployment is done using docker and can be done using the provided docker-compose.yml
file.
- Create a new folder and create the
docker-compose.yml
file. - Update the
docker-compose.yml
with the correct mount point for the configs folder. - Create the
configs/config.yaml
with the correct settings. - Run the container using
docker-compose up -d
- Enjoy~
docker stats <container>
Alternatively you can build a container yourself as follows:
- Clone the repository
git clone [email protected]:vleeuwenmenno/songguru-bot.git
- Checkout to your desired branch
git checkout production
- Build a docker image
make
- Update your config files and your
docker-compose.yml
to run your local image. - Run the docker image
docker compose up -d
- Enjoy~
docker stats <container>
-
How do I change my guild/member preferences?
- In the guild you want to do this, use the command
/settings
. This will generate a one-time link where you can edit your settings and your guild settings if you have the proper role for that.
- In the guild you want to do this, use the command
-
I already had the bot on my guild, but I can't edit the Guild preferences?
- Only members with the bot role SongGuru can edit guild level preferences. Ensure the owner of the guild has given you the proper role. Owners of guilds should automatically receive this role.
-
I shared the settings link, and now all my settings have changed?!
- Please avoid sharing this link. You can generate a new one, and all links are only valid for 15 minutes. Although no harm can be done with the link, it's always better to keep it private. In the future, we might change the way these links work to prevent multiple sessions by locking them to your IP or using another method.
-
I tried changing the Guild preferences, but even after adding the admin role to my Discord user on the guild, I still can't change Guild preferences?
- Make sure you have added the proper role and generated a new settings link after doing so. The link won't detect role changes once it has been generated, so you need to generate a new one.
I am happy to accept contributions, fork the project make your changes and create a PR. Whenver I have time I will review it and merge it ;)
This project is licensed under the MIT License.
Copyright 2023 Menno van Leeuwen
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.