# npm
$ npm install archives-sdk
const { ArchiveClient } = require("archives-sdk")
const archive = new ArchiveClient({
clientID: "봇 아이디",
token: "Archive 토큰"
})
client.on("ready", () => {
console.log(`${client.user.tag} Logged on!`)
archive.update(client.guilds.cache.size) // 봇이 켜지면 업데이트합니다
setInterval(() => archive.update(client.guilds.cache.size), 600000) // 10분마다 서버 수를 업데이트합니다. (3회/분)
})