A rust rewrite of the originally js 2B bot.
- minecraft information
- playing music from youtube
- miscellaneous commands
The bot depends on a few programs to be installed on the system.
The bot depends on the following APIs
- Discord: It's a discord bot...
- Spotify: To fetch song names to be searched on youtube for music playback
- lyrics.ohv: To fetch lyrics for playing songs
- SauceNAO: To fetch source information for images
- Rust
- Other stuff that you have to figure out yourself because it just works for me
The bot reads all required configuration values from the environment or optionally from a .env file. The required values are:
BOT_TOKEN(required): Discord bot tokenBOT_OWNER(required): Discord UserID of the bot ownerDATABASE_URL(required): Connection uri to the postgres database in the schemapostgres://myuser:mypassword@localhost:5432/databaseSPOTIFY_CLIENT_ID(required): Spotify API Client IDSPOTIFY_CLIENT_SECRET(required): Spotify API Client SecretSAUCENAO_API_KEY(required): SauceNAO API KeyBOT_PREFIX(optional): The prefix of the bot. Defaults to~if not set.LOG_DIR(optional): Directory to store log files in. Defaults tologsin the cwd.
See LICENSE.md