Python Telegram bot api.
This report presents the forensic synthetic code analysis of eternnoir/pyTelegramBotAPI, a Python project with 8,760 GitHub stars. SynthScan v2.0 examined 60,814 lines of code across 161 source files, recording 771 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 11.4 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 771 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_apihelper_95.py | 4 | def test_promote_chat_member_can_manage_tags(monkeypatch): | CODE |
| LOW | tests/test_async_telebot.py | 22 | def test_process_polling_retains_update_processing_tasks(): | CODE |
| LOW | tests/test_async_telebot.py | 95 | def test_async_antiflood_returns_result_without_retrying_when_ok(): | CODE |
| LOW | tests/test_async_telebot.py | 110 | def test_async_antiflood_sleeps_retry_after_then_succeeds(): | CODE |
| LOW | tests/test_async_telebot.py | 168 | def test_async_antiflood_final_attempt_propagates_after_budget_exhausted(): | CODE |
| LOW | tests/test_handler_backends.py | 79 | def reply_to_message_update_type(reply_to_message): | CODE |
| LOW | tests/test_handler_backends.py | 107 | def test_memory_handler_backend_default_backend(telegram_bot): | CODE |
| LOW | tests/test_handler_backends.py | 112 | def test_memory_handler_backend_register_next_step_handler(telegram_bot, private_chat, update_type): | CODE |
| LOW | tests/test_handler_backends.py | 129 | def test_memory_handler_backend_clear_next_step_handler(telegram_bot, private_chat, update_type): | CODE |
| LOW | tests/test_handler_backends.py | 148 | def test_memory_handler_backend_register_reply_handler(telegram_bot, private_chat, update_type, | CODE |
| LOW | tests/test_handler_backends.py | 166 | def test_memory_handler_backend_clear_reply_handler(telegram_bot, private_chat, update_type, | CODE |
| LOW | tests/test_handler_backends.py | 186 | def test_file_handler_backend_register_next_step_handler(telegram_bot, private_chat, update_type): | CODE |
| LOW | tests/test_handler_backends.py | 219 | def test_file_handler_backend_clear_next_step_handler(telegram_bot, private_chat, update_type): | CODE |
| LOW | tests/test_handler_backends.py | 252 | def test_redis_handler_backend_register_next_step_handler(telegram_bot, private_chat, update_type): | CODE |
| LOW | tests/test_handler_backends.py | 270 | def test_redis_handler_backend_clear_next_step_handler(telegram_bot, private_chat, update_type): | CODE |
| LOW | tests/test_telebot.py | 75 | def test_message_handler_lambda(self): | CODE |
| LOW | tests/test_telebot.py | 88 | def test_message_handler_lambda_fail(self): | CODE |
| LOW | tests/test_telebot.py | 101 | def test_message_handler_reg_fail(self): | CODE |
| LOW | tests/test_telebot.py | 114 | def test_send_message_with_markdown(self): | CODE |
| LOW⚡ | tests/test_telebot.py | 280 | def test_send_message_dis_noti(self): | STRING |
| LOW⚡ | tests/test_telebot.py | 286 | def test_send_message_with_markup(self): | STRING |
| LOW⚡ | tests/test_telebot.py | 295 | def test_send_message_with_markup_use_string(self): | STRING |
| LOW⚡ | tests/test_telebot.py | 426 | def test_get_chat_administrators(self): | STRING |
| LOW⚡ | tests/test_telebot.py | 431 | def test_get_chat_members_count(self): | STRING |
| LOW⚡ | tests/test_telebot.py | 436 | def test_export_chat_invite_link(self): | STRING |
| LOW⚡ | tests/test_telebot.py | 441 | def test_create_revoke_detailed_chat_invite_link(self): | STRING |
| LOW⚡ | tests/test_telebot.py | 601 | def test_send_photo_formating_caption(self): | STRING |
| LOW⚡ | tests/test_telebot.py | 607 | def test_send_video_formatting_caption(self): | STRING |
| LOW⚡ | tests/test_telebot.py | 613 | def test_send_audio_formatting_caption(self): | STRING |
| LOW⚡ | tests/test_telebot.py | 619 | def test_send_voice_formatting_caprion(self): | STRING |
| LOW⚡ | tests/test_telebot.py | 626 | def test_send_media_group_formatting_caption(self): | STRING |
| LOW | tests/test_telebot.py | 124 | def test_send_message_with_disable_notification(self): | STRING |
| LOW | tests/test_telebot.py | 143 | def test_send_file_with_filename(self): | STRING |
| LOW | tests/test_telebot.py | 184 | def test_send_video_more_params(self): | STRING |
| LOW | tests/test_telebot.py | 190 | def test_send_video_more_params_dis_noti(self): | STRING |
| LOW | tests/test_telebot.py | 306 | def test_send_message_with_inlinemarkup(self): | STRING |
| LOW | tests/test_telebot.py | 329 | def test_forward_message_dis_noti(self): | STRING |
| LOW | tests/test_telebot.py | 364 | def test_send_location_dis_noti(self): | STRING |
| LOW | tests/test_telebot.py | 400 | def test_edit_message_caption(self): | STRING |
| LOW | tests/test_telebot.py | 590 | def test_send_media_group_local_files(self): | STRING |
| LOW | tests/test_telebot.py | 638 | def test_send_document_formating_caption(self): | STRING |
| LOW | tests/test_telebot.py | 662 | def test_typed_middleware_handler(self): | STRING |
| LOW | tests/test_telebot.py | 683 | def test_default_middleware_handler(self): | STRING |
| LOW | tests/test_types.py | 24 | def test_json_message_with_reply_markup(): | CODE |
| LOW | tests/test_types.py | 46 | def test_json_message_with_dice(): | CODE |
| LOW | tests/test_types.py | 241 | def test_json_chat_invite_link(): | CODE |
| LOW | tests/test_types.py | 280 | def test_sent_web_app_message(): | CODE |
| LOW | tests/test_types.py | 330 | def test_message_entity_date_time(): | CODE |
| LOW⚡ | tests/test_types.py | 350 | def test_chat_member_member_tag(): | CODE |
| LOW⚡ | tests/test_types.py | 357 | def test_chat_member_restricted_tag_and_can_edit_tag(): | CODE |
| LOW⚡ | tests/test_types.py | 365 | def test_chat_member_administrator_can_manage_tags(): | CODE |
| LOW⚡ | tests/test_types.py | 372 | def test_chat_permissions_can_edit_tag(): | CODE |
| LOW⚡ | tests/test_types.py | 377 | def test_chat_administrator_rights_can_manage_tags(): | CODE |
| LOW | examples/stars_payment.py | 54 | def process_pre_checkout_query(pre_checkout_query): | CODE |
| LOW | examples/stars_payment.py | 59 | def handle_successful_payment(message): | CODE |
| LOW | examples/deep_linking.py | 50 | def get_username_from_storage(unique_code): | CODE |
| LOW⚡ | examples/custom_filters/advanced_text_filter.py | 20 | def hello_handler_ignore_case(message: types.Message): | CODE |
| LOW⚡ | examples/custom_filters/advanced_text_filter.py | 30 | def contains_handler_ignore_case(message: types.Message): | CODE |
| LOW⚡ | examples/custom_filters/advanced_text_filter.py | 40 | def starts_with_handler_ignore_case(message: types.Message): | CODE |
| LOW⚡ | examples/custom_filters/advanced_text_filter.py | 50 | def ends_with_handler_ignore_case(message: types.Message): | CODE |
| 356 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | telebot/async_telebot.py | 128 | CODE | |
| LOW | telebot/async_telebot.py | 273 | CODE | |
| LOW | telebot/async_telebot.py | 2960 | CODE | |
| LOW | telebot/async_telebot.py | 3017 | CODE | |
| LOW | telebot/async_telebot.py | 3116 | CODE | |
| LOW | telebot/async_telebot.py | 3158 | CODE | |
| LOW | telebot/async_telebot.py | 3222 | CODE | |
| LOW | telebot/async_telebot.py | 3252 | CODE | |
| LOW | telebot/async_telebot.py | 3295 | CODE | |
| LOW | telebot/async_telebot.py | 3310 | CODE | |
| LOW | telebot/async_telebot.py | 3349 | CODE | |
| LOW | telebot/async_telebot.py | 3366 | CODE | |
| LOW | telebot/async_telebot.py | 3454 | CODE | |
| LOW | telebot/async_telebot.py | 3615 | CODE | |
| LOW | telebot/async_telebot.py | 3680 | CODE | |
| LOW | telebot/async_telebot.py | 4124 | CODE | |
| LOW | telebot/async_telebot.py | 4231 | CODE | |
| LOW | telebot/async_telebot.py | 4372 | CODE | |
| LOW | telebot/async_telebot.py | 4466 | CODE | |
| LOW | telebot/async_telebot.py | 4627 | CODE | |
| LOW | telebot/async_telebot.py | 4762 | CODE | |
| LOW | telebot/async_telebot.py | 4930 | CODE | |
| LOW | telebot/async_telebot.py | 5064 | CODE | |
| LOW | telebot/async_telebot.py | 5248 | CODE | |
| LOW | telebot/async_telebot.py | 5417 | CODE | |
| LOW | telebot/async_telebot.py | 5559 | CODE | |
| LOW | telebot/async_telebot.py | 5639 | CODE | |
| LOW | telebot/async_telebot.py | 5740 | CODE | |
| LOW | telebot/async_telebot.py | 5878 | CODE | |
| LOW | telebot/async_telebot.py | 5984 | CODE | |
| LOW | telebot/async_telebot.py | 6131 | CODE | |
| LOW | telebot/async_telebot.py | 6262 | CODE | |
| LOW | telebot/async_telebot.py | 6511 | CODE | |
| LOW | telebot/async_telebot.py | 6598 | CODE | |
| LOW | telebot/async_telebot.py | 7591 | CODE | |
| LOW | telebot/async_telebot.py | 7766 | CODE | |
| LOW | telebot/async_telebot.py | 7931 | CODE | |
| LOW | telebot/async_telebot.py | 8230 | CODE | |
| LOW | telebot/async_telebot.py | 8118 | CODE | |
| LOW | telebot/async_telebot.py | 8234 | CODE | |
| LOW | telebot/async_telebot.py | 8781 | CODE | |
| LOW | telebot/async_telebot.py | 9464 | CODE | |
| LOW | telebot/async_telebot.py | 9548 | CODE | |
| LOW | telebot/async_telebot.py | 9608 | CODE | |
| LOW | telebot/async_telebot.py | 10036 | CODE | |
| LOW | telebot/async_telebot.py | 10056 | CODE | |
| LOW | telebot/asyncio_helper.py | 207 | CODE | |
| LOW | telebot/asyncio_helper.py | 291 | CODE | |
| LOW | telebot/asyncio_helper.py | 334 | CODE | |
| LOW | telebot/asyncio_helper.py | 500 | CODE | |
| LOW | telebot/asyncio_helper.py | 526 | CODE | |
| LOW | telebot/asyncio_helper.py | 595 | CODE | |
| LOW | telebot/asyncio_helper.py | 630 | CODE | |
| LOW | telebot/asyncio_helper.py | 685 | CODE | |
| LOW | telebot/asyncio_helper.py | 740 | CODE | |
| LOW | telebot/asyncio_helper.py | 783 | CODE | |
| LOW | telebot/asyncio_helper.py | 815 | CODE | |
| LOW | telebot/asyncio_helper.py | 862 | CODE | |
| LOW | telebot/asyncio_helper.py | 910 | CODE | |
| LOW | telebot/asyncio_helper.py | 957 | CODE | |
| 127 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | README.md | 0 | \ hi there, i am echobot. i am here to echo your kind words back to you. just say anything nice and i'll say the exact s | STRING |
| HIGH | examples/echo_bot.py | 0 | \ hi there, i am echobot. i am here to echo your kind words back to you. just say anything nice and i'll say the exact s | STRING |
| HIGH | examples/detect_changes.py | 0 | \ hi there, i am echobot. i am here to echo your kind words back to you. just say anything nice and i'll say the exact s | STRING |
| HIGH | examples/webhook_examples/run_webhooks.py | 0 | \ hi there, i am echobot. i am here to echo your kind words back to you. just say anything nice and i'll say the exact s | STRING |
| HIGH | examples/asynchronous_telebot/detect_changes.py | 0 | \ hi there, i am echobot. i am here to echo your kind words back to you. just say anything nice and i'll say the exact s | STRING |
| HIGH | examples/asynchronous_telebot/webhooks/run_webhooks.py | 0 | \ hi there, i am echobot. i am here to echo your kind words back to you. just say anything nice and i'll say the exact s | STRING |
| HIGH | examples/middleware/function_based/i18n_gettext/main.py | 0 | in this example you will learn how to adapt your bot to different languages using built-in middleware i18n. you need to | STRING |
| HIGH | examples/middleware/class_based/i18n_middleware/main.py | 0 | in this example you will learn how to adapt your bot to different languages using built-in middleware i18n. you need to | STRING |
| HIGH | …ous_telebot/middleware/i18n_middleware_example/main.py | 0 | in this example you will learn how to adapt your bot to different languages using built-in middleware i18n. you need to | STRING |
| HIGH | …s/middleware/function_based/i18n_gettext/i18n_class.py | 0 | this middleware provides high-level tool for internationalization it is based on gettext util. | STRING |
| HIGH | …re/class_based/i18n_middleware/i18n_base_middleware.py | 0 | this middleware provides high-level tool for internationalization it is based on gettext util. | STRING |
| HIGH | …eware/i18n_middleware_example/i18n_base_midddleware.py | 0 | this middleware provides high-level tool for internationalization it is based on gettext util. | STRING |
| HIGH | …s/middleware/function_based/i18n_gettext/i18n_class.py | 0 | looks for translations with passed 'domain' in passed 'path' | STRING |
| HIGH | …re/class_based/i18n_middleware/i18n_base_middleware.py | 0 | looks for translations with passed 'domain' in passed 'path' | STRING |
| HIGH | …eware/i18n_middleware_example/i18n_base_midddleware.py | 0 | looks for translations with passed 'domain' in passed 'path' | STRING |
| HIGH | telebot/async_telebot.py | 0 | once the user has confirmed their payment and shipping details, the bot api sends the final confirmation in the form of | STRING |
| HIGH | telebot/__init__.py | 0 | once the user has confirmed their payment and shipping details, the bot api sends the final confirmation in the form of | STRING |
| HIGH | telebot/asyncio_helper.py | 0 | once the user has confirmed their payment and shipping details, the bot api sends the final confirmation in the form of | STRING |
| HIGH | telebot/apihelper.py | 0 | once the user has confirmed their payment and shipping details, the bot api sends the final confirmation in the form of | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | README.md | 326 | except Exception as e: | CODE |
| MEDIUM | README.md | 321 | def query_text(inline_query): | CODE |
| LOW | tests/test_telebot.py | 201 | except Exception as e: | STRING |
| LOW | examples/inline_example.py | 21 | except Exception as e: | CODE |
| LOW | examples/inline_example.py | 36 | except Exception as e: | CODE |
| LOW | examples/inline_example.py | 50 | except Exception as e: | CODE |
| LOW | examples/inline_example.py | 59 | except Exception as e: | CODE |
| MEDIUM | examples/inline_example.py | 16 | def query_text(inline_query): | CODE |
| MEDIUM | examples/inline_example.py | 26 | def query_photo(inline_query): | CODE |
| MEDIUM | examples/inline_example.py | 41 | def query_video(inline_query): | CODE |
| MEDIUM | examples/inline_example.py | 55 | def default_query(inline_query): | CODE |
| LOW | examples/step_example.py | 41 | except Exception as e: | STRING |
| LOW | examples/step_example.py | 59 | except Exception as e: | STRING |
| LOW | examples/step_example.py | 73 | except Exception as e: | STRING |
| MEDIUM | examples/step_example.py | 33 | def process_name_step(message): | CODE |
| MEDIUM | examples/step_example.py | 45 | def process_age_step(message): | CODE |
| MEDIUM | examples/step_example.py | 63 | def process_sex_step(message): | CODE |
| LOW | examples/custom_filters/advanced_text_filter.py | 117 | except Exception as err: | CODE |
| LOW | …hronous_telebot/custom_filters/advanced_text_filter.py | 119 | except Exception as err: | CODE |
| LOW | telebot/async_telebot.py | 387 | except Exception as e: | CODE |
| LOW | telebot/async_telebot.py | 502 | except Exception as e: | CODE |
| LOW | telebot/async_telebot.py | 600 | except Exception as e: | CODE |
| LOW | telebot/util.py | 103 | except Exception as e: | CODE |
| LOW | telebot/util.py | 185 | except Exception as e: | CODE |
| LOW | telebot/util.py | 594 | except Exception as e: | STRING |
| MEDIUM | telebot/util.py | 182 | def _run(self): | CODE |
| LOW | telebot/asyncio_helper.py | 110 | except Exception as e: | CODE |
| LOW | telebot/__init__.py | 740 | except Exception as e: | CODE |
| LOW | telebot/__init__.py | 1051 | except Exception as e: | CODE |
| LOW | telebot/__init__.py | 1059 | except Exception as e: | CODE |
| LOW | telebot/__init__.py | 1152 | except Exception as e: | CODE |
| LOW | telebot/__init__.py | 1306 | except Exception as e: | CODE |
| LOW | telebot/__init__.py | 1363 | except Exception as e: | CODE |
| LOW | telebot/__init__.py | 1379 | except Exception as e: | CODE |
| LOW | telebot/__init__.py | 11467 | except Exception as e: | CODE |
| LOW | telebot/ext/reloader.py | 23 | except Exception as e: | CODE |
| MEDIUM | telebot/ext/reloader.py | 16 | def restart_file(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/create_invite_link.py | 2 | CODE | |
| LOW | examples/serverless/flask_google_cloud_bot/main.py | 30 | CODE | |
| LOW | telebot/async_telebot.py | 12 | CODE | |
| LOW | telebot/async_telebot.py | 13 | CODE | |
| LOW | telebot/util.py | 15 | CODE | |
| LOW | telebot/util.py | 15 | CODE | |
| LOW | telebot/util.py | 15 | CODE | |
| LOW | telebot/util.py | 15 | CODE | |
| LOW | telebot/util.py | 15 | CODE | |
| LOW | telebot/util.py | 15 | CODE | |
| LOW | telebot/util.py | 15 | CODE | |
| LOW | telebot/asyncio_helper.py | 1 | CODE | |
| LOW | telebot/__init__.py | 13 | CODE | |
| LOW | telebot/__init__.py | 14 | CODE | |
| LOW | telebot/__init__.py | 15 | CODE | |
| LOW | telebot/handler_backends.py | 13 | CODE | |
| LOW | telebot/handler_backends.py | 13 | CODE | |
| LOW | telebot/types.py | 2 | CODE | |
| LOW | telebot/asyncio_handler_backends.py | 4 | CODE | |
| LOW | telebot/asyncio_handler_backends.py | 4 | CODE | |
| LOW | telebot/ext/aio/__init__.py | 5 | CODE | |
| LOW | telebot/ext/sync/__init__.py | 5 | CODE | |
| LOW | telebot/storage/__init__.py | 1 | CODE | |
| LOW | telebot/storage/__init__.py | 2 | CODE | |
| LOW | telebot/storage/__init__.py | 3 | CODE | |
| LOW | telebot/storage/__init__.py | 4 | CODE | |
| LOW | telebot/storage/__init__.py | 4 | CODE | |
| LOW | telebot/states/sync/__init__.py | 1 | CODE | |
| LOW | telebot/states/sync/__init__.py | 2 | CODE | |
| LOW | telebot/states/sync/context.py | 1 | CODE | |
| LOW | telebot/states/sync/context.py | 3 | CODE | |
| LOW | telebot/states/sync/middleware.py | 5 | CODE | |
| LOW | telebot/states/asyncio/__init__.py | 1 | CODE | |
| LOW | telebot/states/asyncio/__init__.py | 2 | CODE | |
| LOW | telebot/states/asyncio/middleware.py | 5 | CODE | |
| LOW | telebot/asyncio_storage/pickle_storage.py | 10 | CODE | |
| LOW | telebot/asyncio_storage/__init__.py | 1 | CODE | |
| LOW | telebot/asyncio_storage/__init__.py | 2 | CODE | |
| LOW | telebot/asyncio_storage/__init__.py | 3 | CODE | |
| LOW | telebot/asyncio_storage/__init__.py | 4 | CODE | |
| LOW | telebot/asyncio_storage/__init__.py | 4 | CODE | |
| LOW | telebot/asyncio_storage/redis_storage.py | 4 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/reply_keyboard_markup_example.py | 48 | CODE | |
| LOW | …k_data_examples/advanced_calendar_example/keyboards.py | 12 | CODE | |
| LOW | …k_data_examples/advanced_calendar_example/keyboards.py | 12 | CODE | |
| LOW | telebot/custom_filters.py | 131 | CODE | |
| LOW | telebot/custom_filters.py | 142 | CODE | |
| LOW | telebot/async_telebot.py | 425 | CODE | |
| LOW | telebot/async_telebot.py | 538 | CODE | |
| LOW | telebot/async_telebot.py | 1021 | CODE | |
| LOW | telebot/asyncio_filters.py | 131 | CODE | |
| LOW | telebot/asyncio_filters.py | 142 | CODE | |
| LOW | telebot/util.py | 284 | CODE | |
| LOW | telebot/util.py | 335 | CODE | |
| LOW | telebot/asyncio_helper.py | 125 | CODE | |
| LOW | telebot/asyncio_helper.py | 2965 | CODE | |
| LOW | telebot/__init__.py | 696 | CODE | |
| LOW | telebot/__init__.py | 1041 | CODE | |
| LOW | telebot/__init__.py | 1250 | CODE | |
| LOW | telebot/__init__.py | 1325 | CODE | |
| LOW | telebot/__init__.py | 8984 | CODE | |
| LOW | telebot/__init__.py | 11340 | CODE | |
| LOW | telebot/__init__.py | 11392 | CODE | |
| LOW | telebot/types.py | 2823 | CODE | |
| LOW | telebot/types.py | 3595 | CODE | |
| LOW | telebot/types.py | 9665 | CODE | |
| LOW | telebot/types.py | 10948 | CODE | |
| LOW | telebot/types.py | 11266 | CODE | |
| LOW | telebot/types.py | 11550 | CODE | |
| LOW | telebot/types.py | 14721 | CODE | |
| LOW | telebot/types.py | 15656 | CODE | |
| LOW | telebot/formatting.py | 376 | CODE | |
| LOW | telebot/formatting.py | 415 | CODE | |
| LOW | telebot/apihelper.py | 70 | CODE | |
| LOW | telebot/apihelper.py | 3079 | CODE | |
| LOW | telebot/states/__init__.py | 55 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | examples/deep_linking.py | 7 | # In this example we are connecting a user account on a website with a Telegram bot. | COMMENT |
| HIGH | examples/middleware/function_based/session.py | 9 | # In this example let's imagine we want to create a session for each user who communicates with the bot to store | COMMENT |
| HIGH | examples/middleware/function_based/i18n.py | 10 | # In this example let's imagine we want to introduce localization or internationalization into our project and | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/custom_filters/text_filter_example.py | 7 | # Check if message starts with @admin tag | COMMENT |
| LOW | examples/custom_filters/text_filter_example.py | 12 | # Check if text is hi or hello | COMMENT |
| LOW | examples/custom_filters/general_custom_filters.py | 21 | @bot.message_handler(is_admin=True, commands=['admin']) # Check if user is admin | CODE |
| LOW | examples/custom_filters/is_filter_example.py | 7 | # Check if message is a reply | COMMENT |
| LOW | examples/custom_filters/is_filter_example.py | 12 | # Check if message was forwarded | COMMENT |
| LOW | …chronous_telebot/custom_filters/text_filter_example.py | 6 | # Check if message starts with @admin tag | COMMENT |
| LOW | …chronous_telebot/custom_filters/text_filter_example.py | 11 | # Check if text is hi or hello | COMMENT |
| LOW | …onous_telebot/custom_filters/general_custom_filters.py | 22 | @bot.message_handler(is_admin=True, commands=['admin']) # Check if user is admin | CODE |
| LOW | …ynchronous_telebot/custom_filters/is_filter_example.py | 8 | # Check if message is a reply | COMMENT |
| LOW | …ynchronous_telebot/custom_filters/is_filter_example.py | 13 | # Check if message was forwarded | COMMENT |
| LOW | telebot/apihelper.py | 115 | params = params or None # Set params to None if empty | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | telebot/apihelper.py | 149 | retry_strategy = requests.packages.urllib3.util.retry.Retry( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/source/conf.py | 1 | # Configuration file for the Sphinx documentation builder. | COMMENT |
| LOW | docs/source/conf.py | 41 | COMMENT | |
| LOW | examples/anonymous_bot.py | 1 | # This bot is needed to connect two people and their subsequent anonymous communication | COMMENT |
| LOW | examples/anonymous_bot.py | 21 | # | COMMENT |
| LOW | examples/anonymous_bot.py | 61 | COMMENT | |
| LOW | examples/deep_linking.py | 1 | #!/usr/bin/python | COMMENT |
| LOW | examples/deep_linking.py | 21 | # your bot will receive a text message containing '/start unique_code', | COMMENT |
| LOW | examples/middleware/function_based/session.py | 1 | #!/usr/bin/python | COMMENT |
| LOW | examples/middleware/function_based/i18n.py | 1 | #!/usr/bin/python | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/stars_payment.py | 1 | # Import required libraries | COMMENT |
| MEDIUM | examples/stars_payment.py | 18 | # Create a custom keyboard with 2 buttons per row | COMMENT |
| MEDIUM | examples/create_invite_link.py | 18 | #Create an invite link class that contains info about the created invite link using create_chat_invite_link() with p | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | telebot/async_telebot.py | 254 | def _setup_change_detector(self, path_to_watch: str) -> None: | CODE |
| LOW | telebot/ext/aio/__init__.py | 8 | __all__ = [ | CODE |
| LOW | telebot/ext/sync/__init__.py | 8 | __all__ = [ | CODE |
| LOW | telebot/storage/__init__.py | 7 | __all__ = [ | CODE |
| LOW | telebot/states/sync/__init__.py | 4 | __all__ = [ | CODE |
| LOW | telebot/states/asyncio/__init__.py | 4 | __all__ = [ | CODE |
| LOW | telebot/asyncio_storage/__init__.py | 7 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/asynchronous_telebot/continue_handling.py | 26 | # but you can use any of them because neither of them stops if you | COMMENT |
| LOW | telebot/util.py | 394 | Attention: Don't forget to set parse_mode to 'HTML'! | CODE |