async def METHOD_NAME(self, ctx, METHOD_NAME: str = "localhost"):
    """Set the MongoDB server host."""
    await self.config.custom("MONGODB").METHOD_NAME.set(METHOD_NAME)
    message = await ctx.send(
        f"MongoDB host set to {METHOD_NAME}.\nNow trying to connect to the new host..."
    )
    client = await self._connect_to_mongo()
    if not client:
        return await message.edit(
            content=message.content.replace("Now trying to connect to the new host...", "")
            + "Failed to connect. Please try again with a valid host."
        )
    await message.edit(
        content=message.content.replace("Now trying to connect to the new host...", "")
    )