Optional
force?: booleanWhether to allow user's score to decrease. This can be useful when fixing mistakes or banning cheaters
Optional
noEdit?: booleanWhen true
, the game message will not be modified
to include the new score
The new score (must be >0)
Optional
shouldDispatch?: trueWhether to dispatch the edit message event to the client's update handler.
ID of the user who has scored
The modified message
Set a score of a user in a game