Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/durocodes/jumble-bot
A Discord bot that hosts a jumble game based on the top artists of a last.fm user.
https://github.com/durocodes/jumble-bot
Last synced: 21 days ago
JSON representation
A Discord bot that hosts a jumble game based on the top artists of a last.fm user.
- Host: GitHub
- URL: https://github.com/durocodes/jumble-bot
- Owner: DuroCodes
- Created: 2024-06-26T06:21:52.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-27T20:48:19.000Z (6 months ago)
- Last Synced: 2024-12-01T19:10:05.329Z (21 days ago)
- Language: TypeScript
- Size: 232 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LastFM Jumble Discord Bot
A Discord bot that hosts a jumble game based on the top artists of a last.fm user.
The game chooses a random artist from the user's top artists and jumbles the letters of the artist's name.
You have provided a few hints, and anyone in the chat has to guess the artist's name correctly within 25 seconds.
Made with the [sern](sern.dev) framework.
## Setup
1. Clone the repository
2. Install requirements with `bun install`
3. Create a `.env` file in the root directory with the following variables:```sh
DISCORD_TOKEN=
LASTFM_API_KEY=
DATABASE_URL=
```4. Edit the `src/utils/embeds.ts` to add your own emoji; you can download the emoji from the `emoji` folder
5. Run the bot with `bun start`## Commands
- `.jumble` - Start a new jumble game (`.j`)
- `.leaderboard` - Show the leaderboard (`.lb` or `.top`)
- `.link` - Link your last.fm account to your Discord account
- `.unlink` - Unlink your last.fm account from your Discord account