Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Deshadeeth-Thisarana authored Nov 5, 2021
1 parent 5cf5439 commit c8d8f31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Shadow/modules/ForceSubscribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def _check_member(client, message):
if (
not client.get_chat_member(chat_id, user_id).status
in ("administrator", "creator")
and not user_id == 1141839926
and not user_id == 1041727415
):
channel = chat_db.channel
try:
Expand Down Expand Up @@ -139,7 +139,7 @@ def _check_member(client, message):
@pbot.on_message(filters.command(["forcesubscribe", "forcesub"]) & ~filters.private)
def config(client, message):
user = client.get_chat_member(message.chat.id, message.from_user.id)
if user.status is "creator" or user.user.id == 1141839926:
if user.status is "creator" or user.user.id == 1041727415:
chat_id = message.chat.id
if len(message.command) > 1:
input_str = message.command[1]
Expand Down

0 comments on commit c8d8f31

Please sign in to comment.