diff --git a/README.md b/README.md index 0629400..45506b9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,17 @@ # huskbot - Judges messages and husks them if needed +Judges messages with AI and husks them if needed + +# Usage +Make a .env file, and fill out the following: + +```env +TOKEN=Discord bot token +CF_WORKER=LLM cloudflare worker +HUSK=Husk emoji +``` + +Install and run: + +`bun i` + +`bun run prod` or `bun run dev` \ No newline at end of file diff --git a/package.json b/package.json index bdf9d97..e409080 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,8 @@ "module": "index.ts", "type": "module", "scripts": { - "dev": "bun --watch index.ts" + "dev": "bun --watch index.ts", + "prod": "bun index.ts" }, "devDependencies": { "@types/bun": "latest"