leonitousconforti/tinyburg

View on GitHub
packages/nucleus/src/burnbots.ts

Summary

Maintainability
A
0 mins
Test Coverage
// eslint-disable-next-line @rushstack/typedef-var
export const burnerBots = [
    {
        playerId: "BPQSY",
        playerSs: "8dad81ae-2626-41b9-8225-325f4809057f",
    },
    {
        playerId: "9GV59",
        playerSs: "be61b26e-330b-41e0-ad2f-48eb79dc3bd6",
    },
    {
        playerId: "9GV2Y",
        playerSs: "efe5f6a3-8cd5-4956-897c-ec1db6c26485",
    },
    {
        playerId: "9GTYN",
        playerSs: "89f9b90b-4e1e-4b48-af56-df39da7b17a7",
    },
] as const;

export const getRandomBurnerBot = (): (typeof burnerBots)[number] =>
    burnerBots[Math.floor(Math.random() * burnerBots.length)]!;