mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 01:13:17 +00:00
Disabled message commands
This commit is contained in:
parent
8c35d71818
commit
684a87c398
@ -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);
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user