Merge pull request #3 from Mr-KayJayDee/develop

Added like and/remove event + fixed folowRequest
main
Killian' Dal-Cin 4 years ago committed by GitHub
commit 07ed392450
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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})`)
}
}
Loading…
Cancel
Save