mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 18:59:19 +00:00
be59ac7452968cbe4ae29dde4bf07e4877a50d3f
Bumps [ts-custom-error](https://github.com/adriengibrat/ts-custom-error) from 3.3.0 to 3.3.1. - [Release notes](https://github.com/adriengibrat/ts-custom-error/releases) - [Changelog](https://github.com/adriengibrat/ts-custom-error/blob/main/CHANGELOG.md) - [Commits](https://github.com/adriengibrat/ts-custom-error/compare/v3.3.0...v3.3.1) --- updated-dependencies: - dependency-name: ts-custom-error dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
🍭 Yumi
Multipurpose Discord bot in development
✨ Features
- Music player (YouTube/Spotify)
- Membership screening (Member approval system)
- Fetching player info from games from APIs
- and more in development...
👜 Prerequisites
🔧 Building for production
- Clone this repository
- Install dependencies with
yarnfor yarn, ornpm installfor npm - Run the script
yarn buildornpm run build
The output will be at /dist, use node index.js to start
🔧 Building for production (Docker)
- Clone this repository
- Run
yarn docker-buildfor yarn, ornpm run docker-buildfor npm to build the image
Image will be tagged as ghcr.io/kirameki-cafe/yumi:latest
🔧 Debugging for development
- Clone this repository
- Install dependencies with
yarnfor yarn, ornpm installfor npm - Run the script
yarn developmentornpm run development
🌳 Environment Variables
Take a look inside .env.example for example
NODE_ENVEnvironment type,developmentorproductionDATABASE_URLConnection URL to your database. More infoDISCORD_TOKENYour discord bot tokenDEVELOPER_IDSList of Discord Snowflake User ID that can access developer only modules, separated by,PRIVATE_BOTShould the bot invite be public?trueorfalseSUPPORT_URL(Optional) URL to your support server (If not set, support module will show not available message)OSU_API_KEYosu! API v1 keyYOUTUBE_COOKIE_BASE64YouTube cookies encoded in base64 How to get cookies? *SPOTIFY_CLIENT_IDSpotify client IDSPOTIFY_CLIENT_SECRETSpotify client secretSPOTIFY_REFRESH_TOKENSpotify refresh token **SPOTIFY_CLIENT_MARKETSpotify market country code
* Encode the cookies from the request headers base64 and put it in here instead of creating new file with play.authorization(); code
** Get refresh token from https://accounts.spotify.com/en/authorize?client_id=<client id>&response_type=code&redirect_uri=<redirect uri>
Languages
TypeScript
99.5%
Dockerfile
0.5%