This project is a multifunctional assistant bot for Discord. It is designed by VAIT to utilise LLMs to help our members with various tasks, such as answering questions and quickly reviewing our members' resumes.
Project is bootstrapped with ts-starter-template
- Create a bot in discord.
- Add that bot to your server.
- When making the invite through OAuth2 URL Generator, make sure to enable
bot
andapplications.commands
optionsPrivileged Gateway Intents => Message Content Intent
options
- Follow the Invite your bot section for reference.
- When making the invite through OAuth2 URL Generator, make sure to enable
- Copy out
.env.example
into.env
, and fill in the environment variables.GUILD_ID
: Your server ID. Right-click on the server title and select "Copy ID" to get theGUILD ID
. Development purposes only.TOKEN
: Your bot token. Taken from the Discord Developer Portal => Bot section.PUBLIC_KEY
: Your bot public key. Taken from the Discord Developer Portal => General Information section.CLIENT_ID
: Your bot client ID. Taken from the Discord Developer Portal => OAuth2 section.AI_SERVER_URL
: The URL of the LiteLLM Proxy server.
- Now, run the bot code locally; alternatively, you can deploy the bot in a docker-compose environment. See the sister repository deploy-llm-bot for more information.
Go to DEV_GUIDE.md for more details.