Skip to main content

Library for easy creating of chat bots for VK.com

Project description

VKChatBot

Usage:

group_access_token = os.getenv('VK_GROUP_TOKEN')
group_id = os.getenv('VK_GROUP_ID')
bot = VKChatBot(access_token=group_access_token, group_id=group_id)
bot.register_command('фио', cmd_get_name)
bot.register_command('неделя', cmd_get_week)
bot.register_command('помощь', cmd_help)
bot.register_command('время', cmd_get_time)
bot.register_command('звонки', cmd_get_timetable)
bot.unknown_command_msg = unknown_command
bot.work()

I'm not planning to maintain this library very active and to write verbose documentation at this moment.

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

VKChatBot-0.0.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

VKChatBot-0.0.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file VKChatBot-0.0.1.tar.gz.

File metadata

  • Download URL: VKChatBot-0.0.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.8

File hashes

Hashes for VKChatBot-0.0.1.tar.gz
Algorithm Hash digest
SHA256 baf5f41f4f42f41016fa0b4a8302256740676e0d1f9e79e34b10d77b3928df88
MD5 3cb07bf1663b4390762558389a4dbb3b
BLAKE2b-256 7ef707028c7221d6db4d8224b582195430ac91dc70939c04f30a8bbe0dd67681

See more details on using hashes here.

File details

Details for the file VKChatBot-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: VKChatBot-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.8

File hashes

Hashes for VKChatBot-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 70ae2234e19c88c9347f90999739ff565fe097f30441de3b9bfe4065b453659c
MD5 fa538ea40d7a998716d55c4ba3694a67
BLAKE2b-256 cbebe30455a95876254c949b24f608f36a6d57613d1705be86a55aa990fd479c

See more details on using hashes here.

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