Skip to content

This is a discord bot with nestjs to provide a chat bot for discord. It provides endpoints to save bot's token and guild id and retrieve it from db(postgresql)

Notifications You must be signed in to change notification settings

cycle-sync-ai/discord-bot-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.

Package License

Description

This is a discord bot with nestjs to provide a chat bot for discord. It provides endpoints to save bot's token and guild id and retrieve it from db(postgresql)

Installation

# In root project
$ npm install

Add next .env config in root

# Database Configuration
DB_HOST=                    # The hostname of your database server
DB_PORT=                    # The port on which your database server is running
DB_USERNAME=                # The username to connect to the database
DB_PASSWORD=                # The password for the database user
DB_NAME=                    # The name of the database to connect to

OPENAI_API_KEY=             # Your OpenAI API key

Running the app

# In root project
$ npm run build

# In this sample
$ npm run start:dev

Dependencies

npm install

Author

Discord Email

About

This is a discord bot with nestjs to provide a chat bot for discord. It provides endpoints to save bot's token and guild id and retrieve it from db(postgresql)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published