From bbb50a6df3cad03ed090e8cd34c6c145e00cfdb9 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Sat, 14 Sep 2024 23:29:18 +0100 Subject: [PATCH] Fix resolution issue --- app/modules/info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/info.py b/app/modules/info.py index 964e974..617f037 100644 --- a/app/modules/info.py +++ b/app/modules/info.py @@ -19,7 +19,7 @@ class InfoModule(niobot.Module): resolved = await ctx.bot.room_resolve_alias(room) if not isinstance(resolved, niobot.RoomResolveAliasResponse): resolved: niobot.RoomResolveAliasError - await x.edit( + return await x.edit( "Sorry, I was unable to resolve that room alias.", override={ "uk.co.nexy7574.nonsensebot.error": str(resolved).replace(