A multifunction discord bot
All features can be enabled and disabled with /config
- Install Bun and install dependencies with
bun i
- Create a Discord bot
- enable
Message Content Intent
andServer Members Intent
inApplication
>Bot
- enable
- Create
/configs/botName.private.env
TOKEN=... APP_ID=...
- Invite the bot to a server with:
https://discord.com/oauth2/authorize?permissions=68608&scope=bot&client_id=
+YOUR APP_ID
- TEMPORARY install NodeJS and run
bun start-node
- Applies until bun gets brotli compression and some
dgram
APIs
- Applies until bun gets brotli compression and some
- start with
bun start
All configs can be found in either:
.env
(Global Config)./configs/*.env
(Per-Bot config)./configs/*.private.env
(Bot Credential config)
You can run more than one bot at once by creating more in ./configs/
Features are toggled per-server with /config
- Install Ollama
- Download an model ex:
ollama pull dolphin-mistral
- Start Ollama by running
ollama serve
- setup This WebUI
- add
--api --nowebui
toCOMMANDLINE_ARGS
inwebui-user.sh
- run it in the background whenever you run the bot