simplify loacluser code

This commit is contained in:
MathMan05 2024-08-19 11:07:04 -05:00
parent 34439f031b
commit 1506521835
2 changed files with 3 additions and 2 deletions

View file

@ -654,7 +654,7 @@ class Localuser {
}
async typingStart(typing) {
if (this.channelfocus.id === typing.d.channel_id) {
const guild = SnowFlake.getSnowFlakeFromID(typing.d.guild_id, Guild).getObject();
const guild = this.guildids.get(typing.d.guild_id);
const memb = await Member.new(typing.d.member, guild);
if (memb.id === this.user.id) {
console.log("you is typing");