Added channels, fixed interactions and added guids

This commit is contained in:
ION606
2023-04-04 22:06:12 -04:00
parent 658b45feee
commit 1a048a01db
10 changed files with 240 additions and 119 deletions
+4 -3
View File
@@ -149,7 +149,7 @@ export class Client extends EventEmitter {
this.user_profile = response.profile;
this.user_settings = response.config;
this.id = response.profile.id;
console.log(response.guilds);
// console.log(response.guilds);
this.ready();
}
else if (response.t == gateWayEvents.MessageCreate) {
@@ -171,9 +171,10 @@ export class Client extends EventEmitter {
else if (response.t == gateWayEvents.GuildCreate) this.guildCreate(response.guild);
else if (response.t == gateWayEvents.GuildDelete) this.guildDelete(response.guild);
else if (response.t == gateWayEvents.GuildMemberAdd) this.guildMemberAdd(response.member);
else console.log(response.t);
// else console.log(response.t);
} else {
console.log(response.t);
// commmented to avoid heartbeats
// console.log(response.t);
}
});