Skip to content

Commit

Permalink
Hotfix: return when undefined message
Browse files Browse the repository at this point in the history
  • Loading branch information
Flicksie committed Sep 9, 2024
1 parent 9fc17bd commit 1ead273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eventHandlers/messageCreate.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const meSubs = require("../core/subroutines/onEveryMessage.js");

module.exports = async (msg) => {
if (!msg) return;
if (msg.author.bot) return;
if (!PLX.ready) {
//console.log("Message not Ready".red);
Expand Down

0 comments on commit 1ead273

Please sign in to comment.