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

sendText format not working #35

Open
kamuridesu opened this issue Oct 11, 2022 · 1 comment
Open

sendText format not working #35

kamuridesu opened this issue Oct 11, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@kamuridesu
Copy link
Owner

Bug added on commit 7b1612c

Code:

async def test(message: ReceivedMessage):
    import json
    f = {"bold":[{"offset": 0,"length": 1},{"offset": 2,"length": 5}],"italic": [{"offset": 2,"length": 3}]}
    return await message.reply("World!", formatting=json.dumps(f), parse_mode="")

Traceback:

    raise MessageNotSentError(response_dict["description"])
ICQBot.exceptions.MessageErrors.MessageNotSentError: Format error
@kamuridesu
Copy link
Owner Author

This seems to be an issue with the ICQ API itself. I've tried to use the format method that they used on their bot framework and isn't working either. I'll keep this issue open for now and try to report the problem.

@kamuridesu kamuridesu self-assigned this Dec 9, 2022
@kamuridesu kamuridesu added the bug Something isn't working label Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant