No description
  • TypeScript 97.1%
  • Dockerfile 2.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-05-26 19:57:35 +02:00
.devcontainer add vscode devcontainer 2020-11-12 06:02:11 +00:00
.idea . 2026-05-02 20:31:11 +02:00
src add dm-boosters command 2026-05-26 19:57:35 +02:00
.dockerignore Initial commit, basic bot mechanics working 2019-01-18 18:09:42 -06:00
.drone.yml feat: remove aws translate 2026-05-02 21:16:30 +02:00
.gitattributes add vscode devcontainer 2020-11-12 06:02:11 +00:00
.gitignore optimized dockerfile, added start-windows script 2021-10-19 19:45:58 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md 2021-02-05 17:01:19 -08:00
docker-compose.yml Initial commit, basic bot mechanics working 2019-01-18 18:09:42 -06:00
Dockerfile update node version 2026-05-25 18:59:52 +02:00
LICENSE Initial commit, basic bot mechanics working 2019-01-18 18:09:42 -06:00
package-lock.json feat: remove lodash 2026-05-02 21:39:11 +02:00
package.json feat: remove lodash 2026-05-02 21:39:11 +02:00
README.md feat: remove aws translate 2026-05-02 21:16:30 +02:00
tsconfig.json update(discord.js): 14.26.4 2026-05-02 20:58:24 +02:00

Kuri Bot

Build Status

The Kuri bot for the Dakimakuras Discord. This is not a general purpose bot and is made specifically for the Dakimakuras Discord server. Contributions are welcome (although new features are discouraged without approval) and the code is released under the MIT license.

Getting Started

Install dependencies using npm.

npm install

Create a new Discord developer application. Convert the application to a bot and copy the access token for the created bot account. Create a new file in the root directory of the project called test.env containing the bot token:

TOKEN="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"

Run the program using npm.

npm start

Invite the bot to a Discord server using OAuth2. Users in the server with admin priviledges will be able to configure the bot.

Fixer.io API

To use the currency conversion you must have a fixer.io account (the free tier is sufficient). Provide the access key in the test.env file. The code is designed to hit this endpoint very infrequently so that the rate limit is not reached. FIXER_API="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"

Syrene Bot

A separate Syrene bot can be used for giving octopus hugs.

SYRENE_TOKEN="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"

Features

Currency conversions (using rates from fixer.io)

Converts currency rates matching the following pattern:

50 usd to jpy

Will output something like:

50 USD = 5488.75 JPY

Celcius to fahrenheit and fahrenheit to celcius

Converts celius to fahrenheit and vice versa. The following message:

100 c to f

Will output:

100 C = 212 F

Nya

Posts cute cat faces when someone nyas.

Deploying

The bot is meant to be ran inside a Docker container and is deployed with docker-compose. Environment variables should be configured within a prod.env file (with the same format as test.env).

The following docker compose commands should work to test a production deployment locally:

docker-compose up -d --build

To remove the deployment from docker:

docker-compose down -v