godotengine / issue-bot

Issuebot for chat.godotengine.org
8 stars 5 forks source link

Use the correct fields after talking to rocket.chat #2

Open hpvb opened 3 years ago

hpvb commented 3 years ago

We currently use the following to construct the attachments:

                "author_icon": avatar_url,
                "author_link": issue['html_url'],
                "author_name": f"{repository.title()} [{issue_type}]: {issue['title']}  #{issue['number']}",
                "text": status,
                "ts": msg['ts'],

The reason for this is that on mobile tiles and tile links do not show up. However on desktop using this means that we can not collapse the extra fields. This smells like a bug somewhere but I'm not entirely sure where.

hpvb commented 3 years ago

Test comment