!gamble: oops, something went wrong

Expected behavior

Actual behavior

When users use !gamble all sometimes bot saying oops, something went wrong

Steps to reproduce

Use !gamble all

Additional informations


Noticed it happens not only on all parameter. Also it happening with !gamble 1.

Please, post logs next time…

2019-12-13T15:47:29.262 !!! ERROR !!! TypeError: points.decrement is not a function
    at Gamble.<anonymous> (/home/soge/_WORK/sogeBot/src/bot/games/gamble.ts:54:20)
    at Generator.next (<anonymous>)
    at fulfilled (/home/soge/_WORK/sogeBot/dest/games/gamble.js:14:58)

Ok. I was just not able to ssh login for that.