Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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.

Files for VKChatBot, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size VKChatBot-0.0.1-py3-none-any.whl (3.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size VKChatBot-0.0.1.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page