diff --git a/server/src/discord/new_auction.js b/server/src/discord/new_auction.js index 9155add3..8ceddd3f 100644 --- a/server/src/discord/new_auction.js +++ b/server/src/discord/new_auction.js @@ -9,7 +9,7 @@ function money(num) { return `$${num || 0}k`; } function getAuctionMax() { - return 8; + return 7; } function deAirtable(obj) { @@ -62,7 +62,7 @@ const Auction = { activePlayer: null, wait: { afterInitial: 20, - afterBid: 12 + afterBid: 15 }, stats: {}, timeouts: {}, @@ -172,7 +172,7 @@ const Auction = { getBroadcast: async function() { try { return await select("Broadcasts", { - filterByFormula: "{Key} = \"bpl3\"" + filterByFormula: "{Key} = \"vvl\"" }); } catch (e) { console.error(e); diff --git a/server/src/index.js b/server/src/index.js index 470f5f7b..0f7dacd2 100644 --- a/server/src/index.js +++ b/server/src/index.js @@ -37,12 +37,12 @@ function corsHandle(origin, callback) { const io = require("socket.io")(http, {cors: { origin: corsHandle, credentials: true}, allowEIO3: true}); -// const auction = require("./discord/new_auction.js")({ -// to: (...a) => io.to(...a), -// emit: (...a) => io.emit(...a), -// on: (...a) => io.on(...a), -// test: ["hi"] -// }); +const auction = require("./discord/new_auction.js")({ + to: (...a) => io.to(...a), + emit: (...a) => io.emit(...a), + on: (...a) => io.on(...a), + test: ["hi"] +}); const Cache = (require("./cache.js")).setup(io); diff --git a/website/src/components/broadcast/auction/AuctionOverlay.vue b/website/src/components/broadcast/auction/AuctionOverlay.vue index c0252d91..bfa4e35a 100644 --- a/website/src/components/broadcast/auction/AuctionOverlay.vue +++ b/website/src/components/broadcast/auction/AuctionOverlay.vue @@ -19,8 +19,8 @@