mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
refactor: replace Discord Gateway DO with Interaction Endpoint
This commit is contained in:
parent
9bb9cb1444
commit
d540d465d1
27 changed files with 834 additions and 964 deletions
|
|
@ -3,9 +3,6 @@
|
|||
"main": "src/index.ts",
|
||||
"compatibility_date": "2025-01-01",
|
||||
"compatibility_flags": [],
|
||||
"vars": {
|
||||
"DISCORD_GATEWAY_ENABLED": "true"
|
||||
},
|
||||
"build": {
|
||||
"command": "cd admin && bun install --frozen-lockfile && bun run generate"
|
||||
},
|
||||
|
|
@ -20,18 +17,10 @@
|
|||
"*/5 * * * *"
|
||||
]
|
||||
},
|
||||
"durable_objects": {
|
||||
"bindings": [
|
||||
{
|
||||
"name": "DISCORD_GATEWAY",
|
||||
"class_name": "DiscordGateway",
|
||||
},
|
||||
],
|
||||
},
|
||||
"migrations": [
|
||||
{
|
||||
"tag": "v1",
|
||||
"new_sqlite_classes": [
|
||||
"tag": "v2",
|
||||
"deleted_classes": [
|
||||
"DiscordGateway"
|
||||
],
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue