/opencharacter.ai-discordbot

Character AI, but in your discord

Primary LanguageJavaScriptMIT LicenseMIT

Open Character.AI bot

241764865-2a556a85-036e-4b80-bd67-dcfd8ed6a3f6

What is this?

This repo contains a discord bot that is like Character AI, but in your discord. You can quickly create new digital characters to hangout in your discord channels.

/create [params]

Screen Shot 2023-06-19 at 5 37 01 PM

Commands

Here's a list of all commands supported by the bot:

/create ...

Creates a character in a channel

/list ...

Lists the characters in a channel

/update ...

Changes a specific character parameter

/disintegrate ...

Destroys a character

/whois ...

Tells you about a character

/newroom ...

Creates a new discord channel under the "Soul Chat", which can be managed by the creator

/refine ...

Alters a character based on a target change, e.g. /refine soul: robos refinement: an even more simple robot

Screen Shot 2023-06-19 at 5 36 32 PM

In action, deployed into a Discord

Screen Shot 2023-06-19 at 5 35 56 PM

Technical stuff

The repo code is deployed to heroku, with firebase storage used for persisting souls.

Required env vars can be found in config.js

Getting started

  1. export all required environment vars in config.js - your discord app token and firebase tokens
  2. node bot.js

And that's it!

Deployment into Discord

Here's an example tutorial for deploying a socialagi-based bot into discord. The steps to follow are identical for this bot, plus adding channel management related permissions.

Notes

Uses the https://github.com/opensouls/SocialAGI library to create digital souls