remove more unused code

This commit is contained in:
MathMan05 2024-08-14 19:03:01 -05:00
parent 4aa32deb93
commit 3e5435668e
2 changed files with 0 additions and 13 deletions

View file

@ -586,18 +586,11 @@ class Localuser {
if (this.channelfocus.id === typing.d.channel_id) {
const guild = SnowFlake.getSnowFlakeFromID(typing.d.guild_id, Guild).getObject();
const memb = await Member.new(typing.d.member, guild);
let name;
if (memb.id === this.user.id) {
console.log("you is typing");
return;
}
console.log("user is typing and you should see it");
if (memb.nick) {
name = memb.nick;
}
else {
name = memb.user.username;
}
this.typing.set(memb, new Date().getTime());
setTimeout(this.rendertyping.bind(this), 10000);
this.rendertyping();