Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String problem #138

Open
jtemporal opened this issue Apr 19, 2018 · 1 comment
Open

String problem #138

jtemporal opened this issue Apr 19, 2018 · 1 comment

Comments

@jtemporal
Copy link
Contributor

Hi! So I was trying to make the bot answer with a shrug

here's my views.py:

from bottery.message import render


async def pong(message):
    return 'pong'

async def shrug(message):
    return '¯\_(ツ)_/¯'

and my handlers.py:

from bottery import handlers

import views

msghandlers = [
    handlers.message('ping', views.pong),
    handlers.message('/shrug', views.shrug)
]

it also doesn't work with r'¯\_(ツ)_/¯'

any clues?

@rougeth
Copy link
Owner

rougeth commented Apr 22, 2018

Error from Telegram API: Bad Request: can't parse entities: Can't find end of the entity starting at byte offset xxx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants