Improve unknown room error
This commit is contained in:
parent
1a8e39048c
commit
1ff469d413
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class InfoModule(niobot.Module):
|
||||||
|
|
||||||
if room not in ctx.bot.rooms:
|
if room not in ctx.bot.rooms:
|
||||||
return await ctx.respond(
|
return await ctx.respond(
|
||||||
"Unknown room %r." % room
|
"Unknown room %r. Am I in it?" % room
|
||||||
)
|
)
|
||||||
|
|
||||||
room_obj: niobot.MatrixRoom = ctx.bot.rooms[room]
|
room_obj: niobot.MatrixRoom = ctx.bot.rooms[room]
|
||||||
|
|
Loading…
Reference in a new issue