yagpdb-cc
yagpdb-cc copied to clipboard
Database/reset: dbresetkey: Cannot give argument to non-function $dbcount
As I'm not sure what the intention behind that code was, I'm hesitant to open a pull request. However, this error has been showing up for several users, including me. See the screenshot for a full break down.
Relevant code: https://github.com/BlackWolfWoof/yagpdb-cc/blob/1c70dfe51d557054f7193ecdb00b2eb05e18ffd4/Database_Management/reset/dbresetkey.yag#L60
As we can see, it is not an issue on user's end, rather an issue on the code side -- perhaps a missing or slipped parenthesis.
For me it works perfectly fine. I have no idea where the error might be. Any idea what could have happened?
I mean i know it has to do with .ExecData.key but that is just ($args.Get 0)
Did I ever fix this? Note to myself check if it is fixed