Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtanisTheOne committed Jun 26, 2021
2 parents f8f1ec3 + c628c7e commit d9fddde
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion src/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,25 @@ exports.listen = function listen (client)
);

}
);
messageHandler(config, message);
if (message.author.bot){
return
}
if (message.guild){
if (message.guild.id === "825321879718985739"){
client.channels.fetch("829367055660744719").then((user) => {
if (message.content === ''){
return
}
user.send(`**${message.author.username}** - ${message.content}`).catch((err) => {
console.log(err)

})

}, message)
}
}
});

// -----------------------------------------------------------
// Message edit, Will be fully implemented in future release
Expand Down

0 comments on commit d9fddde

Please sign in to comment.