Skip to main content

Super simple framework for Kakaotalk auto-reply bot based on aiohttp

Project description

Super simple framework for Kakaotalk auto-reply bot based on aiohttp


From examples/

from kakaobot import KakaoBot

bot = KakaoBot()

async def handle_message(message, **args):
    if args['type'] == 'text':
        return 'Echoing: %s' % message
        return 'Cannot understand'

if __name__ == '__main__':'', port=8080)

Nice, isn’t it?

Why not Flask or Django?

Because setting up full Flask/Django development environment is a bit of pain, especially for this kind of tiny application with no front-end view. It is well-known using default development server for Flask/Django is not the way you run your web application. But in aiohttp, it is. That’s why I chose aiohttp.

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 python-kakaobot, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size python_kakaobot-0.0.2-py3-none-any.whl (5.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size python-kakaobot-0.0.2.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page