Skip to content

doqin/kotori-bot-typescript

Repository files navigation

Kotori Bot (TypeScript)

This is an upgraded and TypeScript version of my basic Python Discord ChatBot.

If you want to use this for your own chatbot make sure to create a .env file in the project's directory with the following variables:

  • TOKEN (Your Discord Application Token)
  • CLIENT_ID (Your Discord Application ID)
  • GEMINI_API_KEY (Your Google Gemini API Key)

Run these commands to start running

npx tsx src/deploy_commands.ts
npx ts-node src/index.ts

Note

Open the configurations.json file and adjust the variables to your preferences.

You can use the existing character (Kotori) from characters.json or add your own characters.

If you want an interface for checking chatlogs from the database consider using my personal chatlogger made just for this.

Readme Card

Have fun! 👋

About

Quick and effective chatbot using Gemini as its backend

Topics

Resources

Stars

Watchers

Forks