Skip to content

Repository files navigation

YJSNPI Bot

example

This bot has absolutely no Inmu elements. (legit)

Click here to add this bot to your server!

Join the Magictea Official Discord or author's Discord to try it out or test latest features!

Also, check out the Contribution Guidelines if you want you make Yjsnpi-bot become better!

How to set up

Copy config.example.ts to config.ts and fill in a token obtained here: https://discordapp.com/developers/applications/me

Then, install FFMpeg:

$ apt install ffmpeg

Then, install Go 1.24 or newer and Lux for Bilibili/YouTube access:

$ go install github.com/iawia002/lux@master

Lux is the maintained successor to Annie. Tagged Lux releases can lag behind Bilibili changes, so this installs the current master branch. Set anniePath in config.ts to the resulting Lux binary (usually ~/go/bin/lux). The config key keeps its old name for compatibility.

Next, install Node.js 22.12 or newer. With NVM, run:

$ nvm install
$ nvm use

Copy config.example.ts to config.ts and fill out the configuration.

Finally, run

$ npm ci --omit=optional
$ npm run start

and you're ready to go.

About

Stinking Discord bot.

Topics

Resources

Contributing

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages