|
| 1 | +##### THIS SCRIIPT HAS BEEN MADE BY FERFERGA. PLEASE, DON'T CLAIM THAT IT IS FROM YOURS. |
| 2 | +##### GIVE ALWAYS CREDITS TO ORIGINAL AUTHORS. |
| 3 | +##### |
| 4 | +##### THANKS FOR USING! |
| 5 | + |
| 6 | + |
1 | 7 | from telethon import * |
2 | 8 | from telethon.tl.functions.channels import GetFullChannelRequest |
3 | 9 | from telethon.errors import FloodWaitError |
|
24 | 30 | NumChat = 0 |
25 | 31 | NumSuper = 0 |
26 | 32 | UserId = None |
27 | | -api_id = ##INSERT YOUR APIID HERE |
28 | | -api_hash = ##INSERT YOUR APIHASH HERE |
| 33 | +api_id = INSERT API ID HERE |
| 34 | +api_hash = 'INSERT APIHASH HERE!' |
29 | 35 | TLdevice_model = 'Desktop device' |
30 | 36 | TLsystem_version = 'Console' |
31 | 37 | TLapp_version = '- TLCounter ' + version |
@@ -222,13 +228,14 @@ def StartCount(dialogs): |
222 | 228 | name = get_display_name(dialog.entity) |
223 | 229 | if ID not in ConvertedGroupsIDs: |
224 | 230 | count = GatherHistory(client.get_input_entity(dialog)) |
225 | | - sprint(' {}: {}'.format(name, count)) |
226 | 231 | if isinstance(dialog.entity, Channel): |
| 232 | + sprint(' {}: {}'.format(name, count) + " *") |
227 | 233 | if dialog.entity.megagroup == True: |
228 | 234 | SupCount = SupCount + count |
229 | 235 | else: |
230 | 236 | ChannelCount = ChannelCount + count |
231 | 237 | elif isinstance(dialog.entity, (Chat, User)): |
| 238 | + sprint(' {}: {}'.format(name, count)) |
232 | 239 | UserCount = UserCount + count |
233 | 240 | if ID in NewGroupsIDs: |
234 | 241 | if (ID not in LookIds) and (ID in ConvertedGroupsIDs): |
@@ -314,7 +321,7 @@ def StartCount(dialogs): |
314 | 321 | print("\nYou have ", UserCount, " messages that count against your account's limits. Thus, you are not affected by this limit!") |
315 | 322 | else: |
316 | 323 | print("\nYou have ", UserCount, " messages that count against your account's limits. You are affected by the 1 M message limit.") |
317 | | -print("\nChannels and supergroups have their own 1 million message limit, thus, they don't count against your account's quota.") |
| 324 | +print("\nChannels and supergroups have their own 1 million message limit, thus, they don't count against your account's quota.\nThey are marked with '*' in the chat list above.") |
318 | 325 |
|
319 | 326 | print("\nCOUNTED COMPLETED! OPTIONS: ") |
320 | 327 | while True: |
|
0 commit comments