fix bump
This commit is contained in:
parent
b09e71a591
commit
db3ce4cdc6
|
|
@ -8,7 +8,7 @@ export const bumpRemind = async (client: Client) => {
|
|||
const f = await Bun.file("bump.json").text();
|
||||
const data = JSON.parse(f);
|
||||
if (data["bump"]) {
|
||||
if (Date.now() - data["bump"] >= 60 * 120) {
|
||||
if (Date.now() - data["bump"] >= 60 * 120 * 1000) {
|
||||
const channel = client.channels.cache.get(
|
||||
Bun.env.BOT_CHANNEL,
|
||||
) as TextChannel;
|
||||
|
|
|
|||
Loading…
Reference in New Issue