Skip to content

clxrityy/aiccord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aiccord

A customizable AI Discord bot with authentication.

npm install
npm run dev

.env

CLIENT_ID=
CLIENT_PUBLIC_KEY=
CLIENT_TOKEN=
OPENAI_API_KEY=
OPENAI_ORGANIZATION_ID=
MONGO_URI=
PORT=

CONFIG ⚙️

ai.json

  • Configure how your AI responds by default.
{
    "model": "gpt-3.5-turbo",
    "systemRoleContent": "You are a friendly and witty chat bot. Your only job is to either answer a question in a funny way, or be intrigued by whatever the user says.",
    "temperature": "0.86",
    "presence_penalty": "0"
}
  • model — See here.
  • systemRoleContent — Tell the AI how to respond.
  • temperature — See here.
  • presence_penalty — See here.

config.json

  • The bot developer ID's and test guild ID.
  • config.example.json
{
    "testGuildId": "",
    "developersId": [""]
}

COMMANDS

  • /ask [question]
  • /settings view | system | reset | help
    • /settings system role:Respond in a funny way temperature: 0.86

The settings such as temperature and system role content for a specific guild.