Sending 0 points

It is possible to send users 0 points or 9.99 points.

2020-12-07T18:42:56.713 <<< !bolzen give @robotter112 0,1 [zathura123_]
2020-12-07T18:42:56.845 >>> @zathura123_ hat seinen 0 Bolzen an @robotter112 gegeben [zathura123_]
2020-12-07T18:45:01.915 <<< !bolzen give @robotter112 000000000000000000000000 [zathura123_]
2020-12-07T18:45:02.039 >>> @zathura123_ hat seinen 0 Bolzen an @robotter112 gegeben [zathura123_]
2020-12-07T18:45:29.207 <<< !bolzen give @robotter112 9,99 [zathura123_]
2020-12-07T18:45:29.326 >>> @zathura123_ hat seinen 9 Bolzen an @robotter112 gegeben [zathura123_]

Bot is sending only first full number e.g.
0,1
9,99
This is not a bug and is expected behavior as we don’t want to use float numbers.
Although we can add guard to inform that you cannot give 0 points although it is just different end message.

To give up a message that you cannot give 0 points would be a good idea.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.