An open API service indexing awesome lists of open source software.

https://github.com/kuwacom/discord-status-for-node

discord status の nodejs バージョン
https://github.com/kuwacom/discord-status-for-node

Last synced: 3 months ago
JSON representation

discord status の nodejs バージョン

Awesome Lists containing this project

README

        

# discord-status-for-node
[discord status](https://github.com/kuwacom/discord-status) の nodejs バージョン
# HowToUse
主な使い方は [discord status](https://github.com/kuwacom/discord-status) と全く同じです

[discord status](https://github.com/kuwacom/discord-status) で保存した設定ファイルを直接利用することも可能です



`index.js` があるのと同じディレクトリ内に `setting.json` と `config.json` を入れて `start.bat` で起動するだけです

## config.json についての説明
各項目は以下のような機能です

`botToken`: BOTのトークン

`guildId`: `setting.json` 内で置換する用のGuildのID

`interval`: `setting.json` の更新頻度

## setting.json についての説明
以下のオプション内で `{total}` を利用すると `config.json` で設定した Guild のサーバー人数を埋め込み可能です

例) `"details": "現在のサーバー人数 => {total}"`


```
status
details
partySize
partyMax
button1Label
button2Label
```