From a1cd8576f2264120cb7ffde0d96c006527cebb5d Mon Sep 17 00:00:00 2001 From: JetRaidz Date: Sun, 24 Sep 2023 23:44:07 +1300 Subject: [PATCH] Fix TypeError in `room rent` - Fixed TypeError occurring when attempting to add an unknown member whilst in the `room rent` interaction --- src/modules/rooms/cog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/rooms/cog.py b/src/modules/rooms/cog.py index 9adc4f91..e4543cbd 100644 --- a/src/modules/rooms/cog.py +++ b/src/modules/rooms/cog.py @@ -412,7 +412,7 @@ class RoomCog(LionCog): t(_p( 'cmd:room_rent|error:member_not_found', "Could not find the requested member {mention} in this server!" - )).format(member=f"<@{mid}>") + )).format(mention=f"<@{mid}>") ), ephemeral=True ) return