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

Update events/message.js, package-lock.json, .gitignore, package.json files

parent 3849dd51
No related branches found
No related tags found
No related merge requests found
......@@ -3,12 +3,10 @@ module.exports = {
message: (client, settings, Discord) => {
client.on('message', async message => {
if (message.content === '<@771043242242342962>') {
message.channel.send('My prefix is `*`')
}
if (message.content === '<@!771043242242342962>') {
if (message.content === '<@771043242242342962>' || message.content === '<@!771043242242342962>') {
message.channel.send('My prefix is `*`')
}
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}\``);
var prefix = settings.prefix;
......
{
"name": "weasht-v12",
"name": "weasht",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
......
......@@ -7,7 +7,7 @@
"start": "node bot.js"
},
"author": "Reviath",
"license": "ISC",
"license": "GNU GPLv3",
"dependencies": {
"common-tags": "^1.8.0",
"dblapi.js": "^2.4.1",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment