Skip to content

Some bugs and a doubt #4

@ghost

Description

1/ The bot is unable to detect URLs if I put the URL in a paragraph. Let's take two examples.

Example 1:
If I directly send an URL(https://en.m.wikipedia.org/wiki/Lion) in a channel it will detect the URL and will do a domain and URL test, which is nice.

Example 2:
But if I send the same URL like this:

This is the Wikipedia page of Lion.https://en.m.wikipedia.org/wiki/Lion

The the bot is unable to detect the URL and sends a error message like this.

IMG_20210515_133820

2/ I noticed a very rare bug. If I put an URL once in the channel the bot gives me results 2 times. It doesn't happen often but it happens very rarely. I attached a picture below showing the bug.
IMG_20210515_135513

3/ Last a doubt. I added some extensions for the bot which it wants to ignore. Do you think it's enough or I need to add more for files like .pdf, .txt etc?

[ ##Image formats to ignore##
'image/gif','image/jpeg','image/png','image/svg','image/apng','image/avif','image/webp',


##Audio formats to ignore##
'audio/mpeg','audio/wave'
,'audio/ogg','audio/mp3','audio/webm',


##Video formats to ignore##
'video/mp4','video/webm','video/mkv','video/flv','video/vob','video/ogg','video/ogv','video/gif','video/avi','video/wmv','video/3gp']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions