Skip to content

Commit

Permalink
👀
Browse files Browse the repository at this point in the history
  • Loading branch information
Xynnix committed Jul 17, 2023
1 parent bff7d2a commit bce20d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async function setTimeStatus(client) {
if (6 <= hours && hours <= 12) state = "Idle";
if (13 <= hours && hours <= 21) state = "Online";
if (22 <= hours && hours <= 23) state = "Busy";
// return await setStatus(client, { text: `${hours <= 9 ? "0" + hours : hours}:${minutes <= 9 ? "0" + minutes : minutes}` + `EST | ${process.env.PREFIX}help`, presence: state })
return await setStatus(client, { text: `${hours <= 9 ? "0" + hours : hours}:${minutes <= 9 ? "0" + minutes : minutes}` + `EST | ${process.env.PREFIX}help`, presence: state })
};

function onCoolDown(message, command) {
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ client.once("ready", async () => {
log(Style.fg.blue, `${Date(Date.now().toString()).slice(0, 25)}`);
log(Style.bg.blue, `Logged in as ${client.user.username}! | ${client.servers.size} Servers!`);
if (!process.env.TimeChannel) return;
// renameChannel(client, { channelId: process.env["TimeChannel"] });
renameChannel(client, { channelId: process.env["TimeChannel"] });
});

cron.schedule("* * * * *", () => {
Expand Down

0 comments on commit bce20d8

Please sign in to comment.