Skip to content

Commit 49c85e1

Browse files
committed
put hot take logging on info
1 parent 7d26c44 commit 49c85e1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/modules/hotTakes/hotTakes.listener.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { awaitTimeout } from "../../util/timeouts.js";
66
import { logger } from "../../logging.js";
77

88
async function sendHotTake(client: Client) {
9-
logger.debug("Sending hot take maybe");
9+
logger.info("Sending hot take maybe");
1010
const channel = (await client.channels.fetch(
1111
config.channels.hotTake,
1212
)) as TextChannel;
@@ -16,7 +16,7 @@ async function sendHotTake(client: Client) {
1616
return;
1717
}
1818

19-
logger.debug(`Last message: ${lastMessage.id}`);
19+
logger.info(`Last message: ${lastMessage.id}`);
2020
const lastMessageSentAt = lastMessage.createdAt;
2121

2222
// time since last message in seconds
@@ -25,7 +25,7 @@ async function sendHotTake(client: Client) {
2525
if (lastMessage.author.bot || timeSinceLastMessage < 60 * 60 * 2) {
2626
return;
2727
}
28-
logger.debug(
28+
logger.info(
2929
`Time since last message: ${timeSinceLastMessage}, met threshold`,
3030
);
3131
const hotTake = await generateHotTake(channel.guild);

0 commit comments

Comments
 (0)