randydev commited on
Commit
54c3e0b
·
verified ·
1 Parent(s): a815703

Update Akeno/utils/prefixprem.py

Browse files
Files changed (1) hide show
  1. Akeno/utils/prefixprem.py +1 -1
Akeno/utils/prefixprem.py CHANGED
@@ -14,7 +14,7 @@ def command(commands: Union[str, List[str]], case_sensitive: bool = False):
14
 
15
  async def func(flt, client: Client, message: Message):
16
  username = client.me.username or ""
17
- user_id = message.from_user.id
18
  text = message.text or message.caption
19
  message.command = None
20
 
 
14
 
15
  async def func(flt, client: Client, message: Message):
16
  username = client.me.username or ""
17
+ user_id = client.me.id if client.me else int(1191668125)
18
  text = message.text or message.caption
19
  message.command = None
20