We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dcc873 commit 4b7b770Copy full SHA for 4b7b770
src/helpers/MessageHelper.js
@@ -55,6 +55,7 @@ module.exports = class MessageHelper {
55
}
56
57
async isBlacklisted() {
58
+ if(!this.user) return false;
59
if (this.user.blacklisted == null) this.user.blacklisted = false;
60
if (!this.user.blacklisted) {
61
this.user.commandsUsed += 1;
0 commit comments