Added like and/remove event + fixed folowRequest

main
Killian 4 years ago
parent 0f6b6042c7
commit ed53a03979

@ -4,7 +4,7 @@ module.exports = class {
}
async emit(user) {
console.log(`${user.fullName} (${username}) wants to follow you.`)
console.log(`${user.fullName} (${user.username}) wants to follow you.`)
user.approveFollow();
}
}

@ -0,0 +1,9 @@
module.exports = class {
constructor(client) {
this.client = client;
}
async emit(user, message) {
console.log(`${user.fullName} (${user.username}) liked a message from ${message.author.fullName} (${message.author.username})`)
}
}

@ -0,0 +1,9 @@
module.exports = class {
constructor(client) {
this.client = client;
}
async emit(user, message) {
console.log(`${user.fullName} (${user.username}) disliked a message from ${message.author.fullName} (${message.author.username})`)
}
}

@ -10,7 +10,7 @@
"author": "Mr¤KayJayDee <killian.dalcin@gmail.com> (https://github.com/Mr-KayJayDee)",
"license": "MIT",
"dependencies": {
"@androz2091/insta.js": "github:androz2091/insta.js#develop",
"@androz2091/insta.js": "github:androz2091/insta.js",
"@discordjs/collection": "^0.1.6",
"chalk": "^4.1.0",
"discord-image-generation": "^1.3.7",

Loading…
Cancel
Save