Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geoxor/naoko
Naoko is my main Discord Bot
https://github.com/geoxor/naoko
discord discord-bot shaii
Last synced: 18 days ago
JSON representation
Naoko is my main Discord Bot
- Host: GitHub
- URL: https://github.com/geoxor/naoko
- Owner: Geoxor
- License: gpl-3.0
- Created: 2021-07-30T02:23:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-14T17:08:07.000Z (about 1 year ago)
- Last Synced: 2023-12-14T18:30:42.682Z (about 1 year ago)
- Topics: discord, discord-bot, shaii
- Language: TypeScript
- Homepage:
- Size: 96.6 MB
- Stars: 12
- Watchers: 4
- Forks: 15
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🌸 Naoko General Purpose Bot
## 🗃 Installation1. Make a new bot through the developer portal so that you have a token for use in `config.naoko.json`
2. Fork, clone repo & cd into the folder NaokoNext, depending on your platform:
### Linux
1. Install dependencies
```
sudo apt install -y build-essential g++-10 libxi-dev libxext-dev libpixman-1-dev libcairo2-dev libpango1.0-dev libjpeg8-dev libgif-dev libjpeg-dev librsvg2-dev mesa-common-dev
```2. _TODO: set up mongo on linux_
3. install npm and yarn
4. `yarn` to install dependencies### Windows
1. Install Node ~~version 16.x.x~~
2. Install MongoDB Community https://www.mongodb.com/try/download/community & follow default installation
3. With administrator privileges, do ~~`npm i`~~ `yarn` in the repository folderOnce all these are set up:
1. Make `config.naoko.json` in `src` following `example.config.naoko.json`
Set path to a music folder (make an empty one in the repo folder if you don't care)
Set the token
Set the chat log ID
Set url to mongodb (mongodb://127.0.0.1:27017 if hosting locally)
2. In `constants/index.ts` replace guild & channel IDs with those of your test guild
3. `yarn dev`### Docker
_TODO: update if needed
If you have docker installed you can simple build the image and run the install from inside the docker container
```shell
docker compose run --rm -it node-cli yarn install
```The compose file also includes the mongo server needed to run naoko