This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Selects an element from the DOM and asserts its type. | |
| * | |
| * This function throws if: | |
| * - It is not found | |
| * - It isn't an instance of the `HTMLElement` that is passed as second argument. | |
| * | |
| * @param selectors A standard `document.querySelector` string | |
| * @param ElementClass A global class that extends `HTMLElement` or `SVGElement` (Optional, defaults to `HTMLElement`) | |
| * @example const element = querySelector("#an-id"); // If found, will be inferred as `HTMLElement` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Nyveon 2022 | |
| import requests | |
| import datetime | |
| import json | |
| import logging | |
| import asyncio | |
| import telegram | |
| from telegram.constants import ParseMode | |
| # Telegram config |