coding-buddies-discord / cb-bots

4 stars 3 forks source link

bot breaks when --m flag is passed when giving a point #85

Closed cubiquitous closed 1 year ago

cubiquitous commented 1 year ago

the bot is breaking when someone is giving a point with the --m flag. since we now have a option to see global points and each table will show your total points (channel or global), I'm in favor of removing the --m flag and everything that comes with

cubiquitous commented 1 year ago

here's the error: image

it occurs because countGivenPoint, which is now in BuddiesModel, doesnt have a reference to user. this method is only called when --m is passed.

waream2 commented 1 year ago

I agree, I think it was a really good way to maintain the original way the bot would respond to points but your emoji reaction response is much better.

Let's kill it.

cubiquitous commented 1 year ago

solved with #90