diff --git a/cogs/commands/roomsearch.py b/cogs/commands/roomsearch.py index 949e961..55d75bb 100644 --- a/cogs/commands/roomsearch.py +++ b/cogs/commands/roomsearch.py @@ -155,7 +155,7 @@ async def room(self, ctx: Context, *, name: str): def get_map_url(self, room): """Constructs url for campus map for room""" - return f"https://campus.warwick.ac.uk/?slid={room.get('extRef').get('id')}" + return f"https://warwick.ac.uk/sitebuilder2/api/campus_map/location/{room.get('_id')}" def get_info_url(self, room): """Constructs url for ITS info on room"""