Skip to content

Commit ace0c26

Browse files
authored
Update Force_Sub.py
1 parent a6f5424 commit ace0c26

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Rkn_Bots/Force_Sub.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66

77
async def not_subscribed(_, client, message):
88
user_id = int(message.from_user.id)
9-
user_det = {"_id": user_id}
10-
await users.insert_one(user_det)
9+
await insert(user_id)
1110
if not Config.FORCE_SUB:
1211
return False
1312
try:

0 commit comments

Comments
 (0)