UserOptionsバージョン: v2.0
目次
Interface
このインターフェースは、データベース内のユーザー用オプションを設定するために使用します。
collection "simply-xps"
Section titled “collection "simply-xps"”以下のプロパティを使用する場合、使用するコレクション名は simply-xps である必要があります。
ユーザーに設定するデータです。利用できるプロパティは次のとおりです。
| Property | Type | Optional | Default | Description |
|---|---|---|---|---|
| flags | Array | ✅ | ユーザーのフラグ。 | |
| guild | string | ❌ | ユーザーが属するギルド ID。 | |
| user | string | ✅ | ユーザーの ID。 | |
| name | string | ✅ | ユーザー名。 | |
| level | number | ✅ | 0 | ユーザーのレベル。 |
| xp | number | ✅ | 0 | ユーザーの XP。 |