You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trivernis
9bfb35dbce
ci/woodpecker/push/build Pipeline failed
Details
ci/woodpecker/tag/container Pipeline was successful
Details
|
10 months ago | |
---|---|---|
.github/workflows | 2 years ago | |
.woodpecker | 10 months ago | |
bot-coreutils | 2 years ago | |
bot-database | 2 years ago | |
src | 10 months ago | |
.containerignore | 3 years ago | |
.gitignore | 4 years ago | |
Cargo.lock | 10 months ago | |
Cargo.toml | 10 months ago | |
Containerfile | 10 months ago | |
LICENSE | 4 years ago | |
README.md | 10 months ago | |
rust-toolchain.toml | 4 years ago |
README.md
2B (Tobi) Discord bot.
A rust rewrite of the originally js 2B bot.
Current feature set
- minecraft information
- playing music from youtube
- miscellaneous commands
System Dependencies
The bot depends on a few programs to be installed on the system.
Data Storage
Music
Misc Commands
API Dependencies
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
Dev Dependencies
- Rust
- Other stuff that you have to figure out yourself because it just works for me
Configuration
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/database
SPOTIFY_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 tologs
in the cwd.
License
See LICENSE.md