Skip to content

Bot crashes while saving the notes if no markdown syntax links are provided #33

@daemon1024

Description

@daemon1024

Describe the bug
When /save <Title> <Content> is used if the content doesnt have any link in markdown format i.e [link title](link) the bot crashes due to index out of range

Expected behavior

The bot should avoid parsing markdown links if the matches are zero

Additional context

Logs : https://del.dog/asadingapp

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions