Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 817 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 817 Bytes

아카이브 공식 Javascript, TypeScript SDK

# npm
$ npm install archives-sdk

사용법 Useage

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회/분)
})

기여하기

오류 발생시 여기에 올려주세요
PR도 확인하고 있으니 여기에 올려주세요