Disabled message commands

This commit is contained in:
Christer Warén 2021-08-19 00:01:13 +03:00
parent 8c35d71818
commit 684a87c398

View File

@ -1,7 +1,8 @@
module.exports = { module.exports = {
name: 'message', name: 'message',
async execute(client, msg, Discord) { async execute(client, msg, Discord) {
if (msg.author.bot || !msg.guild) return; return;
/*if (msg.author.bot || !msg.guild) return;
let prefix = client.config.prefix; let prefix = client.config.prefix;
if(msg.mentions.members.first()){ if(msg.mentions.members.first()){
if(msg.mentions.members.first().user.id === client.user.id){ if(msg.mentions.members.first().user.id === client.user.id){
@ -22,6 +23,6 @@ module.exports = {
} catch (error) { } catch (error) {
msg.reply(client.messages.runningCommandFailed); msg.reply(client.messages.runningCommandFailed);
console.error(error); console.error(error);
} }*/
} }
} }