s
Size: a a a
s
s
s
s
s
𝘾
s
𝘾
s
s
s
𝘾
𝘾
s
𝘾
𝘾
s
𝘾
import functools
def is_offline(func):
@functools.wraps(func)
async def wrapper(update):
if not isinstance((await client.get_entity("myGayAccount")).status, types.UserStatusOnline):
await func(update)
return wrapper
@messageHandler(...)
@is_offline
async def replier(update):
await update.reply("I'm busy")
𝘾