├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml └── workflows │ ├── master-docs.yml │ ├── python-publish.yml │ ├── python-test.yml │ └── version-docs.yml ├── .gitignore ├── .pre-commit-config.yaml ├── CNAME ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── README.md ├── SECURITY.md ├── docs ├── CNAME ├── assets │ └── guides │ │ ├── images │ │ └── sending-attachments │ │ │ ├── blurhash-dehashed.avif │ │ │ ├── blurhash-hashed.avif │ │ │ └── file-send.avif │ │ └── text │ │ ├── example_ffprobe.json │ │ └── example_identify.json ├── changelog.md ├── guides │ ├── 001-getting-started.md │ ├── 002-a-simple-bot.md │ ├── 003-sending-attachments.md │ ├── 004-creating-custom-parsers.md │ └── 005-direct-messages.md ├── index.md ├── meta │ └── code-of-conduct.md └── reference │ ├── attachment.md │ ├── client.md │ ├── commands.md │ ├── context.md │ ├── events.md │ ├── exceptions.md │ └── utils │ ├── checks.md │ ├── federation.md │ ├── help_command.md │ ├── html_table.md │ ├── mentions.md │ ├── parsers.md │ ├── string_view.md │ ├── typing.md │ └── unblock.md ├── examples ├── README.txt ├── a simple bot │ └── simple.py └── commands with arguments │ ├── custom_converters.py │ └── main.py ├── mkdocs.yml ├── pyproject.toml ├── requirements.txt ├── src ├── niobot │ ├── __init__.py │ ├── __main__.py │ ├── _event_stubs.py │ ├── attachment.py │ ├── attachments │ │ ├── __init__.py │ │ ├── _util.py │ │ ├── audio.py │ │ ├── base.py │ │ ├── file.py │ │ ├── image.py │ │ └── video.py │ ├── client.py │ ├── commands.py │ ├── context.py │ ├── exceptions.py │ └── utils │ │ ├── __init__.py │ │ ├── checks.py │ │ ├── federation.py │ │ ├── help_command.py │ │ ├── html_table.py │ │ ├── lib.py │ │ ├── mentions.py │ │ ├── parsers.py │ │ ├── string_view.py │ │ ├── sync_store.py │ │ ├── typing.py │ │ └── unblocking.py └── tests │ ├── assets │ ├── CREDITS.md │ ├── sample-15s.ogg │ ├── sample-5s-compressed.mp4 │ ├── sample-clouds.webp │ ├── sample-jpeg.jpg │ ├── sample-lipsum-10.txt │ └── syncs │ │ ├── 00.json │ │ ├── 01.json │ │ └── 02.json │ ├── test_attachment.py │ ├── test_client.py │ ├── test_commands.py │ ├── test_parsers.py │ ├── test_sync_store.py │ ├── test_utils_string_view.py │ └── test_utils_unblocking.py └── tox.ini /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | ko_fi: nexy7574 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/master-docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/.github/workflows/master-docs.yml -------------------------------------------------------------------------------- /.github/workflows/python-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/.github/workflows/python-publish.yml -------------------------------------------------------------------------------- /.github/workflows/python-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/.github/workflows/python-test.yml -------------------------------------------------------------------------------- /.github/workflows/version-docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/.github/workflows/version-docs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | docs.nio-bot.dev 2 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/SECURITY.md -------------------------------------------------------------------------------- /docs/CNAME: -------------------------------------------------------------------------------- 1 | docs.nio-bot.dev 2 | -------------------------------------------------------------------------------- /docs/assets/guides/images/sending-attachments/blurhash-dehashed.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/assets/guides/images/sending-attachments/blurhash-dehashed.avif -------------------------------------------------------------------------------- /docs/assets/guides/images/sending-attachments/blurhash-hashed.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/assets/guides/images/sending-attachments/blurhash-hashed.avif -------------------------------------------------------------------------------- /docs/assets/guides/images/sending-attachments/file-send.avif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/assets/guides/images/sending-attachments/file-send.avif -------------------------------------------------------------------------------- /docs/assets/guides/text/example_ffprobe.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/assets/guides/text/example_ffprobe.json -------------------------------------------------------------------------------- /docs/assets/guides/text/example_identify.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/assets/guides/text/example_identify.json -------------------------------------------------------------------------------- /docs/changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/changelog.md -------------------------------------------------------------------------------- /docs/guides/001-getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/guides/001-getting-started.md -------------------------------------------------------------------------------- /docs/guides/002-a-simple-bot.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/guides/002-a-simple-bot.md -------------------------------------------------------------------------------- /docs/guides/003-sending-attachments.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/guides/003-sending-attachments.md -------------------------------------------------------------------------------- /docs/guides/004-creating-custom-parsers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/guides/004-creating-custom-parsers.md -------------------------------------------------------------------------------- /docs/guides/005-direct-messages.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/guides/005-direct-messages.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/meta/code-of-conduct.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/meta/code-of-conduct.md -------------------------------------------------------------------------------- /docs/reference/attachment.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/reference/attachment.md -------------------------------------------------------------------------------- /docs/reference/client.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/reference/client.md -------------------------------------------------------------------------------- /docs/reference/commands.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/reference/commands.md -------------------------------------------------------------------------------- /docs/reference/context.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/reference/context.md -------------------------------------------------------------------------------- /docs/reference/events.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/reference/events.md -------------------------------------------------------------------------------- /docs/reference/exceptions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/reference/exceptions.md -------------------------------------------------------------------------------- /docs/reference/utils/checks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/reference/utils/checks.md -------------------------------------------------------------------------------- /docs/reference/utils/federation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/reference/utils/federation.md -------------------------------------------------------------------------------- /docs/reference/utils/help_command.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/reference/utils/help_command.md -------------------------------------------------------------------------------- /docs/reference/utils/html_table.md: -------------------------------------------------------------------------------- 1 | # Table Builder 2 | ::: niobot.utils.html_table 3 | -------------------------------------------------------------------------------- /docs/reference/utils/mentions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/reference/utils/mentions.md -------------------------------------------------------------------------------- /docs/reference/utils/parsers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/reference/utils/parsers.md -------------------------------------------------------------------------------- /docs/reference/utils/string_view.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/reference/utils/string_view.md -------------------------------------------------------------------------------- /docs/reference/utils/typing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/reference/utils/typing.md -------------------------------------------------------------------------------- /docs/reference/utils/unblock.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/docs/reference/utils/unblock.md -------------------------------------------------------------------------------- /examples/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/examples/README.txt -------------------------------------------------------------------------------- /examples/a simple bot/simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/examples/a simple bot/simple.py -------------------------------------------------------------------------------- /examples/commands with arguments/custom_converters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/examples/commands with arguments/custom_converters.py -------------------------------------------------------------------------------- /examples/commands with arguments/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/examples/commands with arguments/main.py -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/niobot/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/__init__.py -------------------------------------------------------------------------------- /src/niobot/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/__main__.py -------------------------------------------------------------------------------- /src/niobot/_event_stubs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/_event_stubs.py -------------------------------------------------------------------------------- /src/niobot/attachment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/attachment.py -------------------------------------------------------------------------------- /src/niobot/attachments/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/attachments/__init__.py -------------------------------------------------------------------------------- /src/niobot/attachments/_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/attachments/_util.py -------------------------------------------------------------------------------- /src/niobot/attachments/audio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/attachments/audio.py -------------------------------------------------------------------------------- /src/niobot/attachments/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/attachments/base.py -------------------------------------------------------------------------------- /src/niobot/attachments/file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/attachments/file.py -------------------------------------------------------------------------------- /src/niobot/attachments/image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/attachments/image.py -------------------------------------------------------------------------------- /src/niobot/attachments/video.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/attachments/video.py -------------------------------------------------------------------------------- /src/niobot/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/client.py -------------------------------------------------------------------------------- /src/niobot/commands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/commands.py -------------------------------------------------------------------------------- /src/niobot/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/context.py -------------------------------------------------------------------------------- /src/niobot/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/exceptions.py -------------------------------------------------------------------------------- /src/niobot/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/utils/__init__.py -------------------------------------------------------------------------------- /src/niobot/utils/checks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/utils/checks.py -------------------------------------------------------------------------------- /src/niobot/utils/federation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/utils/federation.py -------------------------------------------------------------------------------- /src/niobot/utils/help_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/utils/help_command.py -------------------------------------------------------------------------------- /src/niobot/utils/html_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/utils/html_table.py -------------------------------------------------------------------------------- /src/niobot/utils/lib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/utils/lib.py -------------------------------------------------------------------------------- /src/niobot/utils/mentions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/utils/mentions.py -------------------------------------------------------------------------------- /src/niobot/utils/parsers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/utils/parsers.py -------------------------------------------------------------------------------- /src/niobot/utils/string_view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/utils/string_view.py -------------------------------------------------------------------------------- /src/niobot/utils/sync_store.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/utils/sync_store.py -------------------------------------------------------------------------------- /src/niobot/utils/typing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/utils/typing.py -------------------------------------------------------------------------------- /src/niobot/utils/unblocking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/niobot/utils/unblocking.py -------------------------------------------------------------------------------- /src/tests/assets/CREDITS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/tests/assets/CREDITS.md -------------------------------------------------------------------------------- /src/tests/assets/sample-15s.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/tests/assets/sample-15s.ogg -------------------------------------------------------------------------------- /src/tests/assets/sample-5s-compressed.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/tests/assets/sample-5s-compressed.mp4 -------------------------------------------------------------------------------- /src/tests/assets/sample-clouds.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/tests/assets/sample-clouds.webp -------------------------------------------------------------------------------- /src/tests/assets/sample-jpeg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/tests/assets/sample-jpeg.jpg -------------------------------------------------------------------------------- /src/tests/assets/sample-lipsum-10.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/tests/assets/sample-lipsum-10.txt -------------------------------------------------------------------------------- /src/tests/assets/syncs/00.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/tests/assets/syncs/00.json -------------------------------------------------------------------------------- /src/tests/assets/syncs/01.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/tests/assets/syncs/01.json -------------------------------------------------------------------------------- /src/tests/assets/syncs/02.json: -------------------------------------------------------------------------------- 1 | {"next_batch":"42219939","device_unused_fallback_key_types":null} 2 | -------------------------------------------------------------------------------- /src/tests/test_attachment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/tests/test_attachment.py -------------------------------------------------------------------------------- /src/tests/test_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/tests/test_client.py -------------------------------------------------------------------------------- /src/tests/test_commands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/tests/test_commands.py -------------------------------------------------------------------------------- /src/tests/test_parsers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/tests/test_parsers.py -------------------------------------------------------------------------------- /src/tests/test_sync_store.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/tests/test_sync_store.py -------------------------------------------------------------------------------- /src/tests/test_utils_string_view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/tests/test_utils_string_view.py -------------------------------------------------------------------------------- /src/tests/test_utils_unblocking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/src/tests/test_utils_unblocking.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nexy7574/nio-bot/HEAD/tox.ini --------------------------------------------------------------------------------