LevelRoleOptionsバージョン: v2.0
目次
Interface
レベルロールドキュメントを作成/更新するときに使用するオプションです。
collection - “simply-xp-levelroles”
Section titled “collection - “simply-xp-levelroles””下記の data プロパティを使う場合、simply-xp-levelroles である必要があります。
data - object
Section titled “data - object”| Property | Type | Optional | Description |
|---|---|---|---|
guild |
string | ❌ | ギルド ID。 |
levelrole |
object | ✅ | level と任意の roles を持つオブジェクト。 |
levelrole.level |
number | ✅ | レベル番号。省略時は null になる場合があります。 |
levelrole.roles |
Array<string> | ✅ | ロール ID 文字列配列。null または省略可。 |