rileyio / kiera-bot

A Multi-Use Discord bot
https://kierabot.xyz
MIT License
6 stars 4 forks source link

[Issue] CK Stats Lockee and Keyholder no longer working after release of 4.12.0 #13

Closed rileyio closed 4 years ago

rileyio commented 4 years ago

Describe the issue/bug Some users seeing upon running the !ck stats keyholder Username or lockee variant of the command no response back from Kiera where it was at least giving a list of possible issues before.

To Reproduce

  1. Run either the Lockee or Keyholder stats command (example: !ck stats lockee Username)
  2. No response from Kiera at all

Expected behavior A stats block response or a list of possible reasons why Kiera won't/can't respond.

Dev version findings As I had a Dev copy of Kiera running when this was seen and reported:

Where it fails: https://github.com/rileyio/kiera-bot/blob/master/src/utils/chastikey.ts#L98

Issue: I didn't put in a condition to check if the user is NOT verified in discord - so its failing when it tries to build the @user you see on the Lockee Stats Block (whoops..)

Not sure if it will be a quick patch or held until the next release (5.0.0) of Kiera.