Skip to content

Commit

Permalink
Update afk.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerpq authored Oct 30, 2023
1 parent 825f5e7 commit 4b0d3a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions repthon/plugins/afk.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from telethon.tl import functions, types

from zthon import zedub
from repthon import zq_lo

from ..Config import Config
from ..core.logger import logging
Expand Down Expand Up @@ -34,7 +34,7 @@ def __init__(self):
AFK_ = AFK()


@zedub.zed_cmd(outgoing=True, edited=False)
@zq_lo.zed_cmd(outgoing=True, edited=False)
async def set_not_afk(event):
if AFK_.afk_on is False:
return
Expand Down Expand Up @@ -80,7 +80,7 @@ async def set_not_afk(event):
)


@zedub.zed_cmd(
@zq_lo.zed_cmd(
incoming=True, func=lambda e: bool(e.mentioned or e.is_private), edited=False
)
async def on_afk(event):
Expand Down

0 comments on commit 4b0d3a3

Please sign in to comment.