UsergeTeam / Userge

Userge, Durable as a Serge
https://userge.tech
GNU General Public License v3.0
677 stars 2.02k forks source link

AFK private message #66

Closed Akshaygit1 closed 4 years ago

Akshaygit1 commented 4 years ago

Afk doesn't respond for private messages. It works in basic/super groups but in private message no I'm afk right now message. Nothing in logs too.

Akshaygit1 commented 4 years ago

Also does afk message respond only once per user? Or is there some time logic too?

Harsh-br0 commented 4 years ago

Also does afk message respond only once per user? Or is there some time logic too?

Are you in usergeot?🤔

rking32 commented 4 years ago

Also does afk message respond only once per user? Or is there some time logic too?

it won't response for all messages. only for randomly selected messages

Akshaygit1 commented 4 years ago

Also does afk message respond only once per user? Or is there some time logic too?

Are you in usergeot?

No 😐

Also does afk message respond only once per user? Or is there some time logic too?

it won't response for all messages. only for randomly selected messages

Ah okay. Hope soon it gets fixed in private message too :)

rking32 commented 4 years ago

@Akshaygit1 AFK working fine in Private (just checked) please check it again

Akshaygit1 commented 4 years ago

@Akshaygit1 AFK working fine in Private (just checked) please check it again

Weird it doesn't work for me. Nothing in logs too https://del.dog/ihuxokiwus.txt Exact steps i did. Restarted bot (.restart) set afk (.afk testing) now sent message to myself using alt but got no I'm afk right now message.

rking32 commented 4 years ago

@Akshaygit1 don't use AFK yourself. it won't work anymore

try to PM your account with other account

Akshaygit1 commented 4 years ago

@Akshaygit1 don't use AFK yourself. it won't work anymore

try to PM your account with other account

Yes that's exactly what i did. After doing afk command i pmed myself using my alt account. But got no afk reply. Btw I'm using alpha branch (not sure If that's relevant to this issue or not)

theRay1s commented 4 years ago

@Akshaygit1 afk is working perfect in both private and group

Akshaygit1 commented 4 years ago

I see that's weird, looks like I'm the only one facing this then. Any hints what might be the reason?

rking32 commented 4 years ago

@Akshaygit1 have you enabled pmguard ?

Akshaygit1 commented 4 years ago

@Akshaygit1 have you enabled pmguard ?

No, i don't use pmpermit plugin.

Edit.. Okay after loading pmpermit and enabling pmguard when i message myself i get pmpermit message after .allow now afk works too. So afk check private message against pmpermit allowed list then only shows afk message. This makes sense but only if pmpermit is loaded even after unloading pmpermit it still checks user against allowed list o.O

rking32 commented 4 years ago

hmm noted