Experience
Give a member experience
Request
POST
https://api.miki.bot/v1/experience
Scopes required
experience.manage
Request Structure
Property | Type | Description |
---|---|---|
guildId | string | The guild ID of the member |
userId | string | The member who is supposed to receive the experience |
amount | number | The amount of experience the user has earned |
bucket | string? | The category of which this experience will count to. By default, it will be categorized as your application name |
Response Structure
Property | Type | Description |
---|---|---|
memberId | string | The member ID who has been given experience |
guildId | string | The guild ID where the experience was given. |
level | number | The current level of the user |
hasLevelledUp | boolean | Whether the user levelled up through this experience |