Skip to content
Snippets Groups Projects
Commit 7a855e95 authored by Reviath's avatar Reviath
Browse files

Update events/message.js

parent 0fd67536
No related branches found
No related tags found
No related merge requests found
......@@ -70,14 +70,6 @@ if (isafk == "True") {
if (err) throw err;
});
};
if (message.content === '<@!797421915152449537>') {
const tagged = new Discord.MessageEmbed()
.setTitle('Nemuno')
.setDescription(`Hello <@${message.author.id}>, My prefix is \`-\` \nYou can use \`-help\` command to my commands`)
.setColor(0xfffa00)
.addField('Do you want to invite me!', "`-invite`")
message.channel.send(tagged)
}
if(message.author.id === client.user.id) return;
if(!message.guild) return client.channels.cache.get('790640302452375562').send(`<@${message.author.id}>\`(${message.author.tag})\` sent a dm to me \nthe message is \`${message}\``);
let settings = require('../settings.json')
......@@ -91,6 +83,14 @@ if (isafk == "True") {
else {
prefix = result[0].prefix
}
if (message.content === '<@!797421915152449537>') {
const tagged = new Discord.MessageEmbed()
.setTitle('Nemuno')
.setDescription(`Hello <@${message.author.id}>, My prefix is \`${prefix}\` \nYou can use \`${prefix}help\` command to my commands`)
.setColor(0xfffa00)
.addField('Do you want to invite me!', `\`${prefix}invite\``)
message.channel.send(tagged)
}
let args = message.content.slice(prefix.length).trim().split(' ');
let cmd = args.shift().toLowerCase();
let command;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment