snapshot migration subPhase 5.5
This commit is contained in:
+12
-5
@@ -72,7 +72,7 @@ async function resolveCookieHeist(
|
||||
if (
|
||||
type !== "cookieHeist" ||
|
||||
ownerId !==
|
||||
interaction.user.id
|
||||
interaction.user.id
|
||||
) {
|
||||
return temporaryEphemeralReply(
|
||||
interaction,
|
||||
@@ -85,7 +85,7 @@ async function resolveCookieHeist(
|
||||
|
||||
const method =
|
||||
HEIST_METHODS[
|
||||
methodName
|
||||
methodName
|
||||
];
|
||||
|
||||
if (!method) {
|
||||
@@ -269,17 +269,24 @@ async function resolveCookieHeist(
|
||||
}
|
||||
);
|
||||
|
||||
/*
|
||||
* ============================================================
|
||||
* HEIST
|
||||
* ============================================================
|
||||
*/
|
||||
|
||||
await trackProfileEvent(
|
||||
interaction,
|
||||
playerId,
|
||||
{
|
||||
type:
|
||||
"vault_steal",
|
||||
type: "vault_steal",
|
||||
source: "heist",
|
||||
game: "heist",
|
||||
result: "win",
|
||||
amount
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
const [
|
||||
playerAfter,
|
||||
vaultAfter
|
||||
|
||||
Reference in New Issue
Block a user