diff --git a/Events/followRequest.js b/Events/followRequest.js index 0f35b0b..4e03efb 100644 --- a/Events/followRequest.js +++ b/Events/followRequest.js @@ -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(); } } diff --git a/Events/likeAdd.js b/Events/likeAdd.js new file mode 100644 index 0000000..53fb06f --- /dev/null +++ b/Events/likeAdd.js @@ -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})`) + } +} diff --git a/Events/likeRemove.js b/Events/likeRemove.js new file mode 100644 index 0000000..6fa0a73 --- /dev/null +++ b/Events/likeRemove.js @@ -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})`) + } +} diff --git a/package.json b/package.json index 3c3b89b..f6e8a18 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "author": "Mr¤KayJayDee (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",