bugfix for transferring conferene

This commit is contained in:
Dave Horton
2021-07-01 13:56:56 -04:00
parent 2b782bc5f3
commit 29440a1c9d
2 changed files with 3 additions and 2 deletions

View File

@@ -129,7 +129,7 @@ class TaskEnqueue extends Task {
event: 'leave',
queue: this.data.name,
length: members,
leaveReason: 'abandoned',
leaveReason: this.killReason !== KillReason.Replaced ? 'abandoned' : 'redirected',
leaveTime: Date.now()
});
} catch (err) {}

View File

@@ -92,7 +92,8 @@
"waitHook": "object|string",
"statusEvents": "array",
"statusHook": "object|string",
"enterHook": "object|string"
"enterHook": "object|string",
"_": "object"
},
"required": [
"name"