Skip to content

Commit

Permalink
Merge pull request #95 from koreanbots/master
Browse files Browse the repository at this point in the history
Release v3 SDK
  • Loading branch information
zero734kr authored Sep 5, 2021
2 parents ca24a00 + d70df4d commit c2d1c94
Show file tree
Hide file tree
Showing 22 changed files with 175 additions and 1,035 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: setup node v14
- name: setup node v16
uses: actions/setup-node@v2.2.0
with:
node-version: 14
node-version: 16
cache: 'npm'

- name: yarn install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/jest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v2.3.4

- name: install node v14
- name: install node v16
uses: actions/setup-node@v2.2.0
with:
node-version: 14
node-version: 16
cache: 'npm'

- name: yarn install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.2.0
with:
node-version: 14
node-version: 16
registry-url: https://registry.npmjs.org/

- if: "!github.event.release.prerelease"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ $ yarn add koreanbots
| discord.js version | supported | planned to support |
|---------------------------|-----------|--------------------|
| v11.x | no | no |
| v12.x (stable) | yes | - |
| v13.x (master) | no | yes |
| v12.x | yes | - |
| v13.x (stable) | yes | - |

## v2 -> v3 마이그레이션 가이드

Expand Down Expand Up @@ -90,7 +90,7 @@ const koreanbots = new Koreanbots({
clientID: "봇 아이디"
})

let update = count => koreanbots.mybot.update({ count, shards: client.shard?.count })
let update = servers => koreanbots.mybot.update({ servers, shards: client.shard?.count })
.then(res => console.log("서버 수를 정상적으로 업데이트하였습니다!\n반환된 정보:" + JSON.stringify(res)))
.catch(console.error)

Expand Down
304 changes: 0 additions & 304 deletions docs/bots.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/cache.md

This file was deleted.

Loading

0 comments on commit c2d1c94

Please sign in to comment.