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.1.tar.gz (5.1 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.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_asf-0.1.1.tar.gz
  • Upload date:
  • Size: 5.1 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.1.tar.gz
Algorithm Hash digest
SHA256 817e5cfa007b51fc83c198a1b5fb9e14d87f2e861338e3b9306f6c5b889a2279
MD5 0f772fce676a50c9e1308b61c5f23644
BLAKE2b-256 50ec030200de3438bef43c144a8b43cbe94d32faa54976008f1de429778e3b1f

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_asf-0.1.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_asf-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c122613707c0a51820ff390174c2b487c9e8b326130a8093a6ef5181a5d5d12
MD5 a0e3c9baaf2fbcd77a49525b75004a4e
BLAKE2b-256 ad429aee1cce9a0cfade3f8dcbf9279d7c6b2f4045d9fe2bacec386a7d52c66a

See more details on using hashes here.

Provenance

The following attestation bundles were made for nonebot_plugin_asf-0.1.1-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