https://github.com/050soft/MusicBot
A Discord music bot that features Last.fm and Discogs integration.
https://github.com/050soft/MusicBot
discogs discord discord-bot discord-js lastfm music music-bot
Last synced: about 1 month ago
JSON representation
A Discord music bot that features Last.fm and Discogs integration.
- Host: GitHub
- URL: https://github.com/050soft/MusicBot
- Owner: damger9
- License: gpl-3.0
- Created: 2025-02-22T10:15:32.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-15T11:43:31.000Z (about 1 year ago)
- Last Synced: 2025-03-15T12:28:04.581Z (about 1 year ago)
- Topics: discogs, discord, discord-bot, discord-js, lastfm, music, music-bot
- Language: TypeScript
- Homepage: https://discord.gg/2UuAVt4kP4
- Size: 98.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# MusicBot
name is subject to change once I think of one
I started this project to develop my skills further by challenging myself with some new things and to develop my portfolio. However, feel free to contribute if you wish. Any code help or even tips on what to change are greatly appreciated.
# Usage
To run this bot for yourself, rename the [.env-example](.env-example) file to .env, then fill in everything with your info.
.env example
```shell
TOKEN=DISCORD_TOKEN
PUBLIC_KEY=DISCORD_PUBLIC_KEY
CLIENT_SECRET=DISCORD_CLIENT_SECRET
DISCOGS_CONSUMER_KEY=DISCOGS_CONSUMER_KEY
DISCOGS_CONSUMER_SECRET=DISCOGS_CONSUMER_SECRET
LASTFM_API_KEY=LASTFM_API_KEY
LASTFM_SHARED_SECRET=LASTFM_SHARED_SECRET
MONGODB_DATABASE_URL=MONGODB_DATABASE_URL
MONGODB_DATABASE_USER=MONGODB_DATABASE_USER
MONGODB_DATABASE_PASSWORD=MONGODB_DATABASE_PASSWORD
```
To get the actual keys, secrets and tokens to run the bot properly you will have to create a Discord bot application, a Last.fm API account and a Discogs API account. The database URL could be a direct URL to a MongoDB cloud database.
> [!NOTE]
> The Discogs [API](https://www.discogs.com/developers#page:home,header:home-rate-limiting) has a pretty strict rate limit of 60 requests, per source per minute. They also require the use of an identifying user agent.
## TODO
See [TODO.md](TODO.md)
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md)
## License
See [LICENSE](LICENSE)