removeXP
Removes XP to a user in a guild
Parameters
Parameter | Type | Description | Required | Default |
---|---|---|---|---|
userID | String | Snowflake | The ID of the user | ✅ | None |
guildID | String | Snowflake | The ID of the guild | ✅ | None |
xp | Number | The amount of XP to remove | ✅ | None |
emitEvent | Boolean | If the levelDown event should be emitted | ❌ | True |
metadata | Any | Metadata to be sent with levelUp or levelDown events | ❌ | null |