This repository has been archived by the owner on Aug 28, 2020. It is now read-only.
[TYPO] Mistake in function msg.hasAtleastPermissionLevel(#) #63
Labels
Bug: Fixed
Issues that report bugs and have been fixed.
Apparently, on the docs, it shows this for checking the Permission level of a msg.
msg.hasAtleastPermissionLevel(#)
However, when testing this it ends up returning:
0|app | [2017-10-24 19:12:40] TypeError: msg.hasAtleastPermissionLevel is not a function 0|app | [2017-10-24 19:12:40] at module.exports.run (/home/jordan/Sistine/commands/Currency/balance.js:38:31) 0|app | [2017-10-24 19:12:40] at msg.validateArgs.then (/home/jordan/Sistine/monitors/commandHandler.js:66:19) 0|app | [2017-10-24 19:12:40] at <anonymous>
The function ends up working if you capitalize the l in Atleast to AtLeast.
https://dancing.while-at.work/3f4e0f.png
The text was updated successfully, but these errors were encountered: