Skip to content

Commit 0af3667

Browse files
authored
Discord Integration Example (#44)
* Working version of Discord integration example * Discord README updated * Delete package lock * Real-time Discord Events * update discord example readme to reflect changes * Revert "update discord example readme to reflect changes" Partial revert: updated human-loop by accident
1 parent 43ddd7b commit 0af3667

16 files changed

+3405
-0
lines changed

examples/discord/package.json

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "discord-example-ts",
3+
"version": "1.0.0",
4+
"description": "Basic Discord human loop example",
5+
"main": "index.js",
6+
"scripts": {
7+
"start": "ts-node src/services.ts",
8+
"start.watch": "nodemon src/services.ts",
9+
"dev": "pnpm start.watch",
10+
"build": "tsc --build",
11+
"clean": "rm -rf node_modules",
12+
"schedule": "ts-node ./scheduleWorkflow.ts",
13+
"restack-up": "node restack_up.mjs"
14+
},
15+
"nodemonConfig": {
16+
"execMap": {
17+
"ts": "ts-node"
18+
},
19+
"ext": "ts",
20+
"watch": [
21+
"src"
22+
]
23+
},
24+
"dependencies": {
25+
"@restackio/ai": "^0.0.82",
26+
"@temporalio/workflow": "^1.11.2"
27+
},
28+
"devDependencies": {
29+
"@types/node": "^20.17.6",
30+
"nodemon": "^2.0.22",
31+
"ts-node": "^10.9.2"
32+
},
33+
"scripts": {
34+
"service": "ts-node src/services.ts",
35+
"schedule": "ts-node scheduleWorkflow.ts"
36+
}
37+
}

0 commit comments

Comments
 (0)