diff --git a/ubottu/bot.py b/ubottu/bot.py index 6bb6027..8c839f0 100644 --- a/ubottu/bot.py +++ b/ubottu/bot.py @@ -202,8 +202,8 @@ class Ubottu(Plugin): content['format'] = 'org.matrix.custom.html' content['body'] = value if to_user: - content['body'] = to_user + ': ' + content['body'] - content['formatted_body'] = to_user + content['formatted_body'] + content['body'] = to_user + ': ' + value + content['formatted_body'] = to_user + ': ' + mautrix.util.markdown.render(formatted_value, allow_html=True) await evt.respond(content) return True @@ -307,7 +307,7 @@ class Ubottu(Plugin): await evt.respond(apt.info(args[0], 'noble', False)) return True if len(args) == 2: - if args[1] in ['jammy', 'noble', 'mantic']: + if args[1] in ['jammy', 'noble', 'mantic', 'focal']: if command_name == 'depends': await evt.respond(apt.info(args[0], args[1], False)) else: