fixing ping counter

This commit is contained in:
2025-06-26 20:04:26 +02:00
parent ae79faaf86
commit 83a7f7567a
+2
View File
@@ -103,6 +103,8 @@ client.on(Events.MessageCreate, async (message) => {
lastMessageId = messages.last().id; lastMessageId = messages.last().id;
} }
console.log(messageCount);
message.channel.setTopic(messageCount + " Pings | Schreibt \"Ping\" & der Bot schreibt \"Pong\""); message.channel.setTopic(messageCount + " Pings | Schreibt \"Ping\" & der Bot schreibt \"Pong\"");
} }
if (message.channelId == 1288954051261632532 && message.content.toLowerCase() != "ping" && message.author.id != 241530175353782273 && message.author.bot == false) { if (message.channelId == 1288954051261632532 && message.content.toLowerCase() != "ping" && message.author.id != 241530175353782273 && message.author.bot == false) {