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 バージョン
- Host: GitHub
- URL: https://github.com/kuwacom/discord-status-for-node
- Owner: kuwacom
- Created: 2023-06-02T08:01:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-02T16:39:01.000Z (about 2 years ago)
- Last Synced: 2025-01-17T06:26:44.294Z (5 months ago)
- Language: TypeScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```