在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:nh-server/Kurisu开源软件地址:https://github.com/nh-server/Kurisu开源编程语言:Python 99.7%开源软件介绍:KurisuA Discord server bot developed for Nintendo Homebrew on Discord. Maintained primarily by NH staff and helpers. Although it is open source, this bot is not really designed to be used in other setups at the moment; the source is mainly just available for those interested in how it works on the Nintendo Homebrew server. Server templateA server template is available for testing Kurisu, with all the channels and roles necessary. Setting up for local testing in Docker (recommended)To test changes to Kurisu locally using Docker, make sure Docker Desktop (Windows and macOS) or Docker Engine (Linux) is installed. For Linux, docker-compose must be installed separately. Create a new application on Discord and add a bot. Put the token in Start Kurisu with the following command. Assuming a clean setup, this will pull postgres:13 to run as the database, and python:3.9-alpine as the base image for Kurisu, then build a new Kurisu image. Then it will start up postgres first, then kurisu once the database is active.
postgres database files are stored in a Docker volume called Other useful commands
Set up for local testing manually
Set up PostgreSQL 13 or later (older versions aren't tested but might work). Python 3.8 or later is required. Install the dependencies in Create a new application on Discord and add a bot. Inside [Main]
token = <token for Discord bot>
database_url = <url of the database>
Run the bot:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论