diff --git a/src/events/ready.ts b/src/events/ready.ts index 1b04f76..71f97d0 100644 --- a/src/events/ready.ts +++ b/src/events/ready.ts @@ -2,6 +2,7 @@ import { Client, Discord, On, type ArgsOf } from "discordx"; import { underageCheck } from "../utils/underage"; import { bumpRemind } from "../utils/bump"; import {stat, mkdir} from "fs/promises"; +import { uptimeLoop } from "../utils/uptime-loop"; @Discord() export class Ready { @@ -21,5 +22,6 @@ export class Ready { underageCheck(members); } bumpRemind(client); + uptimeLoop(client); } } diff --git a/src/utils/uptime-loop.ts b/src/utils/uptime-loop.ts index 6fa5251..1d601d1 100644 --- a/src/utils/uptime-loop.ts +++ b/src/utils/uptime-loop.ts @@ -10,7 +10,7 @@ export const uptimeLoop = async (client: Client) => { ) as TextChannel; const msg = await channel.messages.fetch(Bun.env.UPTIME_MESSAGE); await msg.edit( - `bot is up, last ping: | if the ping was more than 1 minute ago, cosmic needs to check the bot lol :3`, + `bot is up, last ping: | if the ping was more than 1 minute ago, cosmic needs to check the bot lol :3`, ); } };