Skip to content

reddit: comment links also output submission info #2175

@dgw

Description

@dgw

One of the bug fixes in 7.1.3 removed an anchor (&) from the end of post URLs. While it's now possible for Sopel to pick up reddit post links with e.g. ?sort=confidence tacked on (the intended result), that also means Sopel will happily output the post info along with comments (unintended side effect).

The link matching for posts needs to exclude anything that looks like a comment ID, but still match on anything else.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugThings to squish; generally used for issues

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions