Add info to disable automsc linking
This commit is contained in:
parent
c89e39ee83
commit
eb1f4b69e4
1 changed files with 3 additions and 1 deletions
|
@ -124,8 +124,10 @@ class MSCGetter(niobot.Module):
|
|||
continue
|
||||
lines.append(f"[{data['title']}]({data['html_url']})")
|
||||
if lines:
|
||||
text = "\n".join((f"* {ln}" for ln in lines))
|
||||
text += "\n\n<h6>To disable automatic MSC linking, please run `h!automsc disable`.</h6>"
|
||||
return await self.bot.send_message(
|
||||
room, "\n".join((f"* {ln}" for ln in lines)), reply_to=message
|
||||
room, text, reply_to=message
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in a new issue