Skip to main content

NoneBot plugin for controlling ArchiSteamFarm through Telegram and ASF IPC.

Project description

nonebot-plugin-asf

NoneBot plugin for controlling ArchiSteamFarm through Telegram and ASF IPC.

Runtime Model

Load nonebot_plugin_asf from a NoneBot app. The plugin handles Telegram Bot API long polling directly and forwards authorized ! commands to ASF IPC.

Configuration

Set these environment variables:

  • TELEGRAM_BOT_TOKEN
  • TELEGRAM_PROXY, optional HTTP or SOCKS proxy URL for Telegram API access
  • TELEGRAM_ALLOWED_USER_IDS, comma-separated Telegram user IDs
  • TELEGRAM_ALLOWED_CHAT_IDS, optional comma-separated chat IDs
  • ASF_BASE_URL, default http://asf:1242
  • ASF_IPC_PASSWORD
  • POLL_TIMEOUT_SECONDS, default 45

At least one of TELEGRAM_ALLOWED_USER_IDS or TELEGRAM_ALLOWED_CHAT_IDS must be set.

Usage

  • /help shows wrapper usage.
  • /commands lists ASF commands and is registered in Telegram's bot menu.
  • ASF commands require !, for example !status.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_asf-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_asf-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_asf-0.1.0.tar.gz.

File metadata

  • Download URL: nonebot_plugin_asf-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nonebot_plugin_asf-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d2645866ba424cc629b193118949aa6c9986a1201908c8987c3341e0c2763765
MD5 81678371c5d36cbe6b1379dc6e29da65
BLAKE2b-256 2ed9c660dcdcbee29a36428d8234c654252d9c192ada2b32eb94d67c85cf7e7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_asf-0.1.0.tar.gz:

Publisher: workflow.yml on zanderzhng/nonebot-plugin-asf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nonebot_plugin_asf-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_asf-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f8c4da96a0514dbba0f6caa5db7bbef50e7a83288ef5e9378c938e22c512785
MD5 03c37e5865cf8b138a0b5215006ab341
BLAKE2b-256 e477b46a8e3a9f7a1f329ccdb648f19c33670b83af2e11a0e3fd0a3239aaecad

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_asf-0.1.0-py3-none-any.whl:

Publisher: workflow.yml on zanderzhng/nonebot-plugin-asf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page