diff options
author | 2019-11-05 23:59:19 +0700 | |
---|---|---|
committer | 2019-11-05 23:59:19 +0700 | |
commit | 990e216ea7cbb0acf7df1a6805c62d6243897a90 (patch) | |
tree | 6d3c4f97626454d33c1de1d00d8c0c15dd74ed1c | |
parent | remove unneccessary else (diff) |
Changed link used in hyperlink
- A simple `http://.z` will show properly for PC client, but for android it completely broke -> changed to `http://o.hi` - minimum link to make discord think it's a link.
-rw-r--r-- | bot/cogs/moderation/modlog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/moderation/modlog.py b/bot/cogs/moderation/modlog.py index 4fbe39d7f..6ce83840d 100644 --- a/bot/cogs/moderation/modlog.py +++ b/bot/cogs/moderation/modlog.py @@ -653,9 +653,9 @@ class ModLog(Cog, name="ModLog"): for index, (diff_type, words) in enumerate(diff_groups): sub = ' '.join(words) if diff_type == '-': - _before = _before.replace(sub, f"[{sub}](http://.z)") + _before = _before.replace(sub, f"[{sub}](http://o.hi)") elif diff_type == '+': - _after = _after.replace(sub, f"[{sub}](http://.z)") + _after = _after.replace(sub, f"[{sub}](http://o.hi)") else: if len(words) > 2: new = (f"{words[0] if index > 0 else ''}" |