This commit is contained in:
Louis Mazin 2026-07-25 22:21:16 +02:00
parent 4e49a5a9d3
commit 40ee4bddf9

View File

@ -136,6 +136,12 @@ client.on(Events.InteractionCreate, async interaction => {
} }
}); });
client.on('messageCreate', (message) => {
if (message.channel.id === '1222278572090065016') {
updateActivity(client);
}
});
client.login(process.env.DISCORD_TOKEN); client.login(process.env.DISCORD_TOKEN);
// setInterval(()=>{update(headers,numbers,client,process.env.PALWORLD_API_TOKEN)}, 300000); // setInterval(()=>{update(headers,numbers,client,process.env.PALWORLD_API_TOKEN)}, 300000);