Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from bothub_client.bot import BaseBot
- from bothub_client.decorators import channel
- class Bot(BaseBot):
- @channel()
- def default_handler(self, event, context):
- self.send_message('Echo: {}'.format(event['content']))
Add Comment
Please, Sign In to add comment