Accept pending chat on connect

main
Killian 4 years ago
parent a33c0437d5
commit 31ab451d0f

@ -4,6 +4,7 @@ module.exports = class {
}
async emit() {
client.cache.pendingChats.forEach((chat) => chat.approve());
this.client.logger.log(`Logged in as ${this.client.user.fullName} (${this.client.user.username}).`, `ready`);
this.client.logger.log(`Followers: ${this.client.user.followerCount}`, `ready`);
this.client.logger.log(`Following: ${this.client.user.followingCount}`, `ready`);

Loading…
Cancel
Save