├── .dockerignore ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── docker.yml │ ├── guide.yml │ └── main.yml ├── .gitignore ├── CHANGELOG.md ├── Dockerfile ├── LICENSE ├── README.md ├── default.nix ├── docker └── install_mods.py ├── entrypoint.sh ├── flake.lock ├── flake.nix ├── guide ├── docs │ ├── assets │ │ ├── TGPy.png │ │ ├── chatgpt1.jpg │ │ ├── chatgpt2.jpg │ │ ├── example.mp4 │ │ ├── example.png │ │ └── icon.png │ ├── basics │ │ ├── asyncio.md │ │ ├── code.md │ │ ├── examples.md │ │ └── messages.md │ ├── extensibility │ │ ├── api.md │ │ ├── context.md │ │ ├── module_examples.md │ │ ├── modules.md │ │ └── transformers.md │ ├── index.md │ ├── installation.md │ ├── recipes │ │ ├── about.md │ │ ├── chatgpt.md │ │ ├── contacts.md │ │ ├── dice.md │ │ ├── editors.md │ │ └── reminders.md │ ├── reference │ │ ├── builtins.md │ │ ├── code_detection.md │ │ └── module_metadata.md │ └── stylesheets │ │ ├── code_blocks.css │ │ ├── custom_theme.css │ │ ├── home.css │ │ └── recipes.css ├── mkdocs.yml └── snippets │ └── arrow.md ├── nix ├── mkInputs.nix ├── mkPackageAttrs.nix ├── mkPackageOverrides.nix └── treefmt.nix ├── poetry.lock ├── pyproject.toml └── tgpy ├── __init__.py ├── __main__.py ├── _core ├── __init__.py ├── eval_message.py ├── message_design.py ├── meval.py └── utils.py ├── _handlers └── __init__.py ├── api ├── __init__.py ├── config.py ├── directories.py ├── parse_code.py ├── parse_tgpy_message.py ├── tgpy_eval.py ├── transformers.py └── utils.py ├── context.py ├── main.py ├── modules.py ├── reactions_fix.py ├── std ├── client_fixes.py ├── compat.py ├── constants.py ├── module_manager.py ├── ping.py ├── postfix_await.py ├── prevent_eval.py ├── restart.py ├── star_imports.py └── update.py ├── utils.py └── version.py /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/.github/workflows/docker.yml -------------------------------------------------------------------------------- /.github/workflows/guide.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/.github/workflows/guide.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/README.md -------------------------------------------------------------------------------- /default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/default.nix -------------------------------------------------------------------------------- /docker/install_mods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/docker/install_mods.py -------------------------------------------------------------------------------- /entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/entrypoint.sh -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/flake.nix -------------------------------------------------------------------------------- /guide/docs/assets/TGPy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/assets/TGPy.png -------------------------------------------------------------------------------- /guide/docs/assets/chatgpt1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/assets/chatgpt1.jpg -------------------------------------------------------------------------------- /guide/docs/assets/chatgpt2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/assets/chatgpt2.jpg -------------------------------------------------------------------------------- /guide/docs/assets/example.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/assets/example.mp4 -------------------------------------------------------------------------------- /guide/docs/assets/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/assets/example.png -------------------------------------------------------------------------------- /guide/docs/assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/assets/icon.png -------------------------------------------------------------------------------- /guide/docs/basics/asyncio.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/basics/asyncio.md -------------------------------------------------------------------------------- /guide/docs/basics/code.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/basics/code.md -------------------------------------------------------------------------------- /guide/docs/basics/examples.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/basics/examples.md -------------------------------------------------------------------------------- /guide/docs/basics/messages.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/basics/messages.md -------------------------------------------------------------------------------- /guide/docs/extensibility/api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/extensibility/api.md -------------------------------------------------------------------------------- /guide/docs/extensibility/context.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/extensibility/context.md -------------------------------------------------------------------------------- /guide/docs/extensibility/module_examples.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/extensibility/module_examples.md -------------------------------------------------------------------------------- /guide/docs/extensibility/modules.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/extensibility/modules.md -------------------------------------------------------------------------------- /guide/docs/extensibility/transformers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/extensibility/transformers.md -------------------------------------------------------------------------------- /guide/docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/index.md -------------------------------------------------------------------------------- /guide/docs/installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/installation.md -------------------------------------------------------------------------------- /guide/docs/recipes/about.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/recipes/about.md -------------------------------------------------------------------------------- /guide/docs/recipes/chatgpt.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/recipes/chatgpt.md -------------------------------------------------------------------------------- /guide/docs/recipes/contacts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/recipes/contacts.md -------------------------------------------------------------------------------- /guide/docs/recipes/dice.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/recipes/dice.md -------------------------------------------------------------------------------- /guide/docs/recipes/editors.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/recipes/editors.md -------------------------------------------------------------------------------- /guide/docs/recipes/reminders.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/recipes/reminders.md -------------------------------------------------------------------------------- /guide/docs/reference/builtins.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/reference/builtins.md -------------------------------------------------------------------------------- /guide/docs/reference/code_detection.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/reference/code_detection.md -------------------------------------------------------------------------------- /guide/docs/reference/module_metadata.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/reference/module_metadata.md -------------------------------------------------------------------------------- /guide/docs/stylesheets/code_blocks.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/stylesheets/code_blocks.css -------------------------------------------------------------------------------- /guide/docs/stylesheets/custom_theme.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/stylesheets/custom_theme.css -------------------------------------------------------------------------------- /guide/docs/stylesheets/home.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/stylesheets/home.css -------------------------------------------------------------------------------- /guide/docs/stylesheets/recipes.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/docs/stylesheets/recipes.css -------------------------------------------------------------------------------- /guide/mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/mkdocs.yml -------------------------------------------------------------------------------- /guide/snippets/arrow.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/guide/snippets/arrow.md -------------------------------------------------------------------------------- /nix/mkInputs.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/nix/mkInputs.nix -------------------------------------------------------------------------------- /nix/mkPackageAttrs.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/nix/mkPackageAttrs.nix -------------------------------------------------------------------------------- /nix/mkPackageOverrides.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/nix/mkPackageOverrides.nix -------------------------------------------------------------------------------- /nix/treefmt.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/nix/treefmt.nix -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tgpy/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/__init__.py -------------------------------------------------------------------------------- /tgpy/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/__main__.py -------------------------------------------------------------------------------- /tgpy/_core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tgpy/_core/eval_message.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/_core/eval_message.py -------------------------------------------------------------------------------- /tgpy/_core/message_design.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/_core/message_design.py -------------------------------------------------------------------------------- /tgpy/_core/meval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/_core/meval.py -------------------------------------------------------------------------------- /tgpy/_core/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/_core/utils.py -------------------------------------------------------------------------------- /tgpy/_handlers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/_handlers/__init__.py -------------------------------------------------------------------------------- /tgpy/api/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/api/__init__.py -------------------------------------------------------------------------------- /tgpy/api/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/api/config.py -------------------------------------------------------------------------------- /tgpy/api/directories.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/api/directories.py -------------------------------------------------------------------------------- /tgpy/api/parse_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/api/parse_code.py -------------------------------------------------------------------------------- /tgpy/api/parse_tgpy_message.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/api/parse_tgpy_message.py -------------------------------------------------------------------------------- /tgpy/api/tgpy_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/api/tgpy_eval.py -------------------------------------------------------------------------------- /tgpy/api/transformers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/api/transformers.py -------------------------------------------------------------------------------- /tgpy/api/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/api/utils.py -------------------------------------------------------------------------------- /tgpy/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/context.py -------------------------------------------------------------------------------- /tgpy/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/main.py -------------------------------------------------------------------------------- /tgpy/modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/modules.py -------------------------------------------------------------------------------- /tgpy/reactions_fix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/reactions_fix.py -------------------------------------------------------------------------------- /tgpy/std/client_fixes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/std/client_fixes.py -------------------------------------------------------------------------------- /tgpy/std/compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/std/compat.py -------------------------------------------------------------------------------- /tgpy/std/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/std/constants.py -------------------------------------------------------------------------------- /tgpy/std/module_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/std/module_manager.py -------------------------------------------------------------------------------- /tgpy/std/ping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/std/ping.py -------------------------------------------------------------------------------- /tgpy/std/postfix_await.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/std/postfix_await.py -------------------------------------------------------------------------------- /tgpy/std/prevent_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/std/prevent_eval.py -------------------------------------------------------------------------------- /tgpy/std/restart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/std/restart.py -------------------------------------------------------------------------------- /tgpy/std/star_imports.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/std/star_imports.py -------------------------------------------------------------------------------- /tgpy/std/update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/std/update.py -------------------------------------------------------------------------------- /tgpy/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/utils.py -------------------------------------------------------------------------------- /tgpy/version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tm-a-t/TGPy/HEAD/tgpy/version.py --------------------------------------------------------------------------------