obsproject / obs-bot

Source code for the obsproject Discord bot
https://discord.gg/obsproject
GNU General Public License v3.0
38 stars 18 forks source link

cogs.utils.github: Make complete [diff] clickable #9

Closed Vainock closed 2 years ago

Vainock commented 2 years ago

Description

This makes the complete [diff] clickable when someone edited a Wiki page, instead of just [diff.

Motivation and Context

It looks odd when only one bracket is highlighted.

How Has This Been Tested?

/

Types of changes

Tweak (non-breaking change to improve existing functionality)

Checklist:

derrod commented 2 years ago

This is a rendering bug in the Android version of Discord. On Desktop it correctly renders like so: 2021-10-30_17-06-54_JK4D7K The brackets are intentionally not part of the link to distinguish them from the regular page link.

Vainock commented 2 years ago

That is really weird, thank you very much for clarification!