Points-Command didn't work

#1

I have the current Nightly Build and for !points and !toppoints I get follow error messages:

[03-03-2019 @ 11:42:19.736 GMT+01:00] [init.js:317] Error with Event Handler [command] Script [./systems/pointSystem.js] Stacktrace [hasRank()@ranksSystem.js:82 > getPointsMessage()@pointSystem.js:374 > pointSystem.js:409 > init.js:315 > init.js:510 > runCommand()@customCommands.js:48 > init.js:475] Exception [ReferenceError: "time" is not defined.]
[03-03-2019 @ 15:07:41.051 GMT+01:00] [init.js:317] Error with Event Handler [command] Script [./commands/customCommands.js] Stacktrace [hasRank()@ranksSystem.js:82 > getRank()@ranksSystem.js:112 > resolveRank()@ranksSystem.js:151 > tags()@customCommands.js:220 > customCommands.js:832 > init.js:315 > init.js:510] Exception [ReferenceError: "time" is not defined.]
[03-03-2019 @ 20:37:59.432 GMT+01:00] [init.js:317] Error with Event Handler [command] Script [./systems/pollSystem.js] Stacktrace [hasRank()@ranksSystem.js:82 > getRank()@ranksSystem.js:112 > resolveRank()@ranksSystem.js:151 > runPoll()@pollSystem.js:122 > pollSystem.js:291 > init.js:315 > init.js:510] Exception [ReferenceError: "time" is not defined.]
[03-03-2019 @ 20:38:46.516 GMT+01:00] [init.js:317] Error with Event Handler [command] Script [./commands/topCommand.js] Stacktrace [hasRank()@ranksSystem.js:82 > getRank()@ranksSystem.js:112 > resolveRank()@ranksSystem.js:151 > topCommand.js:108 > init.js:315 > init.js:510 > sendNotice()@noticeSystem.js:88 > noticeSystem.js:336] Exception [ReferenceError: "time" is not defined.]
#2

This will be fixed in our next release.

If you want the fix replace your rankSystem.js file in the systems folder with this one.

https://raw.githubusercontent.com/PhantomBot/PhantomBot/1e27016f6427fd88cc433d8a360541035104d67f/javascript-source/systems/ranksSystem.js

closed #3

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