A discord client bot which interacts with Serge: https://github.com/nsarrazin/serge
Go to file
2023-04-03 00:20:06 +02:00
commands Allowing users to add their own init prompt and replace the default for their own session 2023-04-03 00:20:06 +02:00
events First Commit 2023-03-25 19:09:44 +02:00
handler First Commit 2023-03-25 19:09:44 +02:00
.gitignore First Commit 2023-03-25 19:09:44 +02:00
package.json First Commit 2023-03-25 19:09:44 +02:00
rai.js First Commit 2023-03-25 19:09:44 +02:00
README.md adding info about basic auth 2023-03-27 05:02:55 +02:00

rAI - Serge Discord Bot

This readme is incomplete.

Message intents are NOT supported in this bot, this is due to the verification that Discord is enabling.

Structure:

commands - This folder contains commands

event - This folder contains files related to discord.js events. (Like "ready", "interactionCreate")

handler - This folder contains files that read the commands folders contents.

index.js - This is the main file to run the bot.

  1. Use npm i

  2. Create a .env file touch .env

  3. Edit .env

TOKEN = (Discord Token)
INTERNAL_IP = (The Internal IP Address of the Server running Serge)
PUBLIC_URL = (The public URL of your Serge install)
  1. Go to Handler -- > index.js and change "GUIDIDHERE" to your Discord Server's Guild ID

  2. Go into https://discord.com/developers/applications and enable Privileged Intents.

  3. Run the bot node index.js

Want to make this better? Issue a pull request!