Skip to content

parseMode causes invalid json error #86

@boydm5

Description

@boydm5

parseMode=', "parse": "none"'

In lines 594, 598, and 602, the leading comma in the parseMode string, when combined with the json builder (e.g., lines 318-320), creates json like ... "icon_emoji": ":wrench:", , "link_names": "1"}. The double comma causes an invalid_json error to be returned.

The simplest fix seems to be just dropping that comma in each of those three lines, instead making them parseMode='"parse":"none" and so on.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions