Skip to content

Commit

Permalink
Okay this is how you do it please fucking kill me
Browse files Browse the repository at this point in the history
  • Loading branch information
Deauthorized authored Apr 1, 2022
1 parent 863c43a commit cab0da8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ module.exports = function({ bot, knex, config, commands, threads }) {

// Only allows regular messages to be reported for compatibility reasons

if (reportMsg.type !== (0 || 19)) {
console.log(reportMsg.type);
if (reportMsg.type !== 0 && reportMsg.type !== 19) {
await i.createFollowup( { content: "**This type of message cannot be reported.**" } );
return;
}
Expand Down

0 comments on commit cab0da8

Please sign in to comment.