timotejroiko/discord.js-light

MessageFlags is not defined

Closed this issue · 1 comments

if(this.channel.type !== 'news' || this.type !== 'DEFAULT' || this.flags.has(MessageFlags.FLAGS.CROSSPOSTED)) { return false; }

Got error "ReferenceError: MessageFlags is not defined" while trying to check property "crosspostable" of message.

Fixed. Thanks!